Explorar el Código

取消用户反馈信息导出传参限制

guanhailong hace 2 años
padre
commit
51bb7bc023
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      AdminController/UserManageController.py

+ 1 - 2
AdminController/UserManageController.py

@@ -483,7 +483,6 @@ class UserManagement(View):
 
         page = int(pageNo)
         line = int(pageSize)
-        fileType = int(fileType)
         try:
             filter_data = {}
             if status or username or collect_status:
@@ -515,7 +514,7 @@ class UserManagement(View):
                 'score',
                 'collect_status'
             )
-            if fileType == 1:  # 判断是否导出
+            if fileType:  # 判断是否导出
                 feed_backs = feed_backs
             else:
                 feed_backs = feed_backs[(page - 1) * line: page * line]