Browse Source

修复添加网关设备bug

locky 2 years ago
parent
commit
38f14b462b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/SensorGateway/EquipmentFamilyController.py

+ 1 - 1
Controller/SensorGateway/EquipmentFamilyController.py

@@ -213,7 +213,7 @@ class EquipmentFamilyView(View):
                         'nickname': nick_name,
                         'region_alexa': region_alexa,
                         'device_type': device_type,
-                        'td_country': country
+                        'tb_country': country
                     }
                     UidSetModel.objects.create(**uid_set_create_dict)
                 return response.json(0)