|
@@ -128,6 +128,8 @@ def update_device_shadow(request):
|
|
qs_dict['isSupportFourPoint'] = isSupportFourPoint
|
|
qs_dict['isSupportFourPoint'] = isSupportFourPoint
|
|
if ai_type:
|
|
if ai_type:
|
|
qs_dict['ai_type'] = 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')
|
|
ipInfo = CommonService.getIpIpInfo(ip, 'CN')
|
|
country_qs = CountryModel.objects.filter(country_code=ipInfo['country_code']).values('id')
|
|
country_qs = CountryModel.objects.filter(country_code=ipInfo['country_code']).values('id')
|
|
if country_qs.exists():
|
|
if country_qs.exists():
|