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