Explorar o código

过滤不显示激活码套餐

chenshibin %!s(int64=4) %!d(string=hai) anos
pai
achega
6d8bc78233
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Controller/CloudStorage.py

+ 1 - 0
Controller/CloudStorage.py

@@ -198,6 +198,7 @@ class CloudStorageView(View):
         else:
             qs = qs.filter(pay_type='10')
 
+        qs=qs.filter(~Q(pay_type='11')) #过滤不显示激活码套餐
         qs = qs.values("id", "title", "content", "price","day", "currency", "bucket__storeDay",
                        "bucket__bucket", "bucket__area","commodity_code",
                        "commodity_type", "is_discounts", "virtual_price", "expire",