提交 86859b932acbfcbe091e0cea5efee8766825c8f5

作者 qianyingz
1 个父辈 35a7df27

补充

正在显示 1 个修改的文件 包含 3 行增加7 行删除
1 # coding=utf-8 1 # coding=utf-8
2 -#author: 4N 2 +# author: 4N
3 #createtime: 2021/3/1 3 #createtime: 2021/3/1
4 #email: nheweijun@sina.com 4 #email: nheweijun@sina.com
5 5
@@ -11,15 +11,13 @@ from . import task_detail @@ -11,15 +11,13 @@ from . import task_detail
11 from . import task_delete 11 from . import task_delete
12 from . import task_count 12 from . import task_count
13 from . import task_kill 13 from . import task_kill
14 -from app.decorators.auth_decorator import auth_decorator  
15 -import configure  
16 -from app.modules.auth.oauth2 import require_oauth 14 +from app.modules.auth.oauth2 import require_oauth
  15 +
17 16
18 class DataManager(BlueprintApi): 17 class DataManager(BlueprintApi):
19 18
20 bp = Blueprint("Task", __name__, url_prefix="/API/Task") 19 bp = Blueprint("Task", __name__, url_prefix="/API/Task")
21 20
22 -  
23 @staticmethod 21 @staticmethod
24 @bp.route('/List', methods=['POST']) 22 @bp.route('/List', methods=['POST'])
25 @swag_from(task_list.Api.api_doc) 23 @swag_from(task_list.Api.api_doc)
@@ -66,5 +64,3 @@ class DataManager(BlueprintApi): @@ -66,5 +64,3 @@ class DataManager(BlueprintApi):
66 任务统计 64 任务统计
67 """ 65 """
68 return task_count.Api().result 66 return task_count.Api().result
69 -  
70 -  
注册登录 后发表评论