Kaynağa Gözat

修复添加网关设备bug

locky 2 yıl önce
ebeveyn
işleme
fb846d5b17

+ 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)