Parcourir la source

首页返回4G卡类型

zhangdongming il y a 2 ans
Parent
commit
fa88a0de5a
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Controller/EquipmentManagerV3.py

+ 1 - 0
Controller/EquipmentManagerV3.py

@@ -728,6 +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['cloudPhoto'] = self.get_cloud_photo_status(p['UID'])
             # 获取iot_deviceInfo表的endpoint和token_iot_number
             p['iot'] = []