Toggle navigation
Toggle navigation
This project
Loading...
Sign in
huayandong
/
recommend-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
huayandong
2019-08-16 19:53:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
739ea67aec1618386416aa69335dfd85e3e0ebf3
739ea67a
1 parent
71ef7c97
update doc api
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
back-页面接口/20190816-任务调度后台接口.md
back-页面接口/20190816-任务调度后台接口.md
View file @
739ea67
...
...
@@ -12,7 +12,8 @@
{
"pageSize": 40,
"pageId": 0,
"operator": "zzz@boxfish.cn"
"operator": "zzz@boxfish.cn" // 查询条件:登记定时任务的人
}
```
...
...
@@ -70,10 +71,30 @@
```
json5
{
"operator": "xxx@b.cn",
"operatorAccount": "xxx@b.cn", // 当前操作人账号
"taskId": 8
}
```
##### 2. 【网页接口】更新指定定时任务状态
-
URL: {{localhost}}/boxfish-data-market/market/scheduleJob/updateScheduleStatus
-
Method: POST
-
RequestBody
```
json5
{
"operatorAccount": "xxx@b.cn", // 当前操作人账号
"taskId": 8,
"flagEnable": true
}
```
> `flagEnable`: 定时任务的状态,`true`表示定时任务开始执行,`false`表示定时任务停止执行
...
...
Please
register
or
login
to post a comment