Browse Source

优化返回字段

zhangdongming 2 years ago
parent
commit
a80e16486c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/EquipmentManagerV3.py

+ 1 - 1
Controller/EquipmentManagerV3.py

@@ -728,7 +728,7 @@ class EquipmentManagerV3(View):
                 u_device_info_qs = UnicomDeviceInfo.objects.filter(serial_no=p['serial_number'])
                 if u_device_info_qs.exists():
                     p['iccid'] = u_device_info_qs.first().iccid
-                    p['4GCardType'] = u_device_info_qs.first().card_type
+                    p['iccidType'] = u_device_info_qs.first().card_type
             p['cloudPhoto'] = self.get_cloud_photo_status(p['UID'])
             # 获取iot_deviceInfo表的endpoint和token_iot_number
             p['iot'] = []