Browse Source

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

chenshibin 4 years ago
parent
commit
1bfb845adc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Controller/CloudStorage.py

+ 2 - 0
Controller/CloudStorage.py

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