zhangdongming 1 месяц назад
Родитель
Сommit
d45c5675d9
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      Controller/ShadowController.py

+ 2 - 0
Controller/ShadowController.py

@@ -128,6 +128,8 @@ def update_device_shadow(request):
             qs_dict['isSupportFourPoint'] = isSupportFourPoint
         if ai_type:
             qs_dict['ai_type'] = ai_type
+            if ucode == '52D201350WA' and version == 'V4.0.5':
+                qs_dict['ai_type'] = 1991
         ipInfo = CommonService.getIpIpInfo(ip, 'CN')
         country_qs = CountryModel.objects.filter(country_code=ipInfo['country_code']).values('id')
         if country_qs.exists():