huayandong

update doc api

@@ -12,7 +12,8 @@ @@ -12,7 +12,8 @@
12 { 12 {
13 "pageSize": 40, 13 "pageSize": 40,
14 "pageId": 0, 14 "pageId": 0,
15 - "operator": "zzz@boxfish.cn" 15 +
  16 + "operator": "zzz@boxfish.cn" // 查询条件:登记定时任务的人
16 } 17 }
17 ``` 18 ```
18 19
@@ -70,10 +71,30 @@ @@ -70,10 +71,30 @@
70 71
71 ```json5 72 ```json5
72 { 73 {
73 - "operator": "xxx@b.cn", 74 + "operatorAccount": "xxx@b.cn", // 当前操作人账号
  75 +
74 "taskId": 8 76 "taskId": 8
75 } 77 }
76 ``` 78 ```
77 79
78 80
  81 +##### 2. 【网页接口】更新指定定时任务状态
  82 +
  83 +
  84 +- URL: {{localhost}}/boxfish-data-market/market/scheduleJob/updateScheduleStatus
  85 +- Method: POST
  86 +- RequestBody
  87 +
  88 +```json5
  89 +{
  90 + "operatorAccount": "xxx@b.cn", // 当前操作人账号
  91 +
  92 + "taskId": 8,
  93 + "flagEnable": true
  94 +}
  95 +```
  96 +
  97 +> `flagEnable`: 定时任务的状态,`true`表示定时任务开始执行,`false`表示定时任务停止执行
  98 +
  99 +
79 100