Ver código fonte

旅游编辑接口

yf_ymm 5 anos atrás
pai
commit
6df72a2dab
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      apps/Equipment/views.py

+ 3 - 1
apps/Equipment/views.py

@@ -1455,7 +1455,9 @@ class My_Pub_List(ListView):
         _list = CKArticle.objects.all()
         if _type:
             _list = _list.filter(art_type=_type)
-            if _type == "6":
+            if _type == "5":
+                pub_list = CKArticle.objects.filter(art_type="5")
+            elif _type == "6":
                 pub_list = Video_data.objects.all()
             elif _type == "7":
                 pub_list = Product.objects.all()