Browse Source

修改查询设备字段返回值格式

locky 4 years ago
parent
commit
428cdc01f1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Controller/EquipmentManagerV3.py

+ 2 - 2
Controller/EquipmentManagerV3.py

@@ -466,8 +466,8 @@ class EquipmentManagerV3(View):
             uid_qs = UIDModel.objects.filter(uid=p_uid).values('platform', 'init_string', 'init_string_app')
             if uid_qs.exists():
                 p['platform'] = uid_qs[0]['platform']
-                p['init_string'] = uid_qs[0]['init_string']
-                p['init_string_app'] = uid_qs[0]['init_string_app']
+                p['initString'] = uid_qs[0]['init_string']
+                p['initStringApp'] = uid_qs[0]['init_string_app']
 
             if p_uid in uv_dict:
                 # 设备版本号