任务详情
GET
/system/task/cron
系统模块
接口级别:管理
撰写者:钟意
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Trusteeship 之后拼接 Token示例:
Authorization: Trusteeship ********************
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 200,
"result": true,
"msg": "调度任务列表获取成功",
"data": {
"list": [
{
"Id": 1,
"class": "TencentReadCronService",
"title": "微信读书自动阅读",
"description": "半点的每五分钟",
"cron": "30-59/5 13,16 * * *",
"status": "就绪",
"Deleted": 0
},
{
"Id": 2,
"class": "TencentReadCronService",
"title": "微信读书自动阅读",
"description": "整点的每五分钟",
"cron": "*/5 6,7,10,14,17,18,20,21 * * *",
"status": "就绪",
"Deleted": 0
},
{
"Id": 3,
"class": "TencentReadCookieCronService",
"title": "微信读书凭证保活",
"description": "整点的每五分钟",
"cron": "*/40 * * * *",
"status": "就绪",
"Deleted": 0
}
],
"pageInfo": {
"totalRows": 3,
"page": 1,
"pageSize": 999,
"isFirstPage": true,
"isLastPage": true
}
}
}
🟠400参数不正确
🟢201参数无意义
修改于 2024-09-01 13:35:37