Эх сурвалжийг харах

每体验过的用户 只显示云存套餐

chenshibin 4 жил өмнө
parent
commit
1bfb845adc

+ 2 - 0
Controller/CloudStorage.py

@@ -186,6 +186,8 @@ class CloudStorageView(View):
 
 
         if eq:
         if eq:
             qs=qs.filter(~Q(type='10'))
             qs=qs.filter(~Q(type='10'))
+        else:
+            qs = qs.filter(type='10')
 
 
         qs = qs.values("id", "title", "content", "price",
         qs = qs.values("id", "title", "content", "price",
                        "day", "currency", "bucket__storeDay",
                        "day", "currency", "bucket__storeDay",