|
|
@@ -234,6 +234,11 @@ class CloudStorageView(View):
|
|
|
|
|
|
d_ver = DeviceVersionInfoView.cache_device_version_info(ucode, ver)
|
|
|
if d_ver:
|
|
|
+ has_4g_cloud = d_ver['has_4g_cloud']
|
|
|
+ if has_4g_cloud == 0:
|
|
|
+ LOGGER.info('4G不支持云存设备:{}'.format(uid))
|
|
|
+ return response.json(0)
|
|
|
+
|
|
|
is_4g = 1 if d_ver['has_4g_cloud'] == 1 else 0
|
|
|
|
|
|
store_qs = Store_Meal.objects.filter(Q(lang__lang=lang), Q(is_show=0), ~Q(pay_type='11')) # 过滤激活码、隐藏套餐
|