浏览代码

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

chenshibin 4 年之前
父节点
当前提交
1bfb845adc
共有 1 个文件被更改,包括 2 次插入0 次删除
  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",