Explorar el Código

修改云存套餐0.29测试套餐返回值

linhaohong hace 8 meses
padre
commit
2bfaa12334
Se han modificado 1 ficheros con 6 adiciones y 6 borrados
  1. 6 6
      Controller/CloudStorage.py

+ 6 - 6
Controller/CloudStorage.py

@@ -250,14 +250,14 @@ class CloudStorageView(View):
                     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)
+                               "517J385BNUGP3CPP111A", "5Z1LZLK7D5Y6WKDE111A"] and CONFIG_INFO == CONFIG_TEST:
+                    store_qs = store_qs.exclude(id__in=[88, 102])
                 elif uid not in ["VXJ267WU5NZ1S89H111A", "18SM4J9DYWB2AEG1111A",
-                                 "517J385BNUGP3CPP111A"] and CONFIG_INFO == CONFIG_US:
-                    store_qs = store_qs.exclude(id=34)
+                                 "517J385BNUGP3CPP111A", "5Z1LZLK7D5Y6WKDE111A"] and CONFIG_INFO == CONFIG_US:
+                    store_qs = store_qs.exclude(id__in=[34, 43])
                 elif uid not in ["VXJ267WU5NZ1S89H111A", "18SM4J9DYWB2AEG1111A",
-                                 "517J385BNUGP3CPP111A"] and CONFIG_INFO == CONFIG_EUR:
-                    store_qs = store_qs.exclude(id=34)
+                                 "517J385BNUGP3CPP111A", "5Z1LZLK7D5Y6WKDE111A"] and CONFIG_INFO == CONFIG_EUR:
+                    store_qs = store_qs.exclude(id__in=[34, 43])
             else:
                 is_ai = uid_set_qs[0]['is_ai']
                 is_ai = 1 if is_ai != 2 and CONFIG_INFO != CONFIG_CN else 0  # 国内不支持AI服务