|
@@ -236,12 +236,19 @@ class CloudStorageView(View):
|
|
|
|
|
|
if CONFIG_INFO != CONFIG_CN: # 国内生产环境不筛选像素 加载所有上架套餐
|
|
|
store_qs = store_qs.filter(Q(pixel_level=pixel_level))
|
|
|
- if is_ios and uid in ["517J385BNUGP3CPP111A", "MKNB6CWZEG988NTS111A","VXJ267WU5NZ1S89H111A","18SM4J9DYWB2AEG1111A"]:
|
|
|
- store_qs = store_qs.filter(pay_type__in=[5, 99])
|
|
|
- elif is_ios:
|
|
|
+ if is_ios:
|
|
|
store_qs = store_qs.filter(pay_type=5)
|
|
|
else:
|
|
|
- store_qs = store_qs.exclude(pay_type__in=[5, 99])
|
|
|
+ store_qs = store_qs.exclude(pay_type=5)
|
|
|
+ if uid not in ["VXJ267WU5NZ1S89H111A", "18SM4J9DYWB2AEG1111A",
|
|
|
+ "517J385BNUGP3CPP111A"] and CONFIG_INFO == CONFIG_TEST:
|
|
|
+ store_qs = store_qs.exclude(id=88)
|
|
|
+ elif uid not in ["VXJ267WU5NZ1S89H111A", "18SM4J9DYWB2AEG1111A",
|
|
|
+ "517J385BNUGP3CPP111A"] and CONFIG_INFO == CONFIG_US:
|
|
|
+ store_qs = store_qs.exclude(id=34)
|
|
|
+ elif uid not in ["VXJ267WU5NZ1S89H111A", "18SM4J9DYWB2AEG1111A",
|
|
|
+ "517J385BNUGP3CPP111A"] and CONFIG_INFO == CONFIG_EUR:
|
|
|
+ store_qs = store_qs.exclude(id=34)
|
|
|
else:
|
|
|
is_ai = uid_set_qs[0]['is_ai']
|
|
|
is_ai = 1 if is_ai != 2 and CONFIG_INFO != CONFIG_CN else 0 # 国内不支持AI服务
|