huayandong

update doc api

@@ -86,4 +86,33 @@ @@ -86,4 +86,33 @@
86 > `flagEnable`: 定时任务的状态,`true`表示定时任务开始执行,`false`表示定时任务停止执行 86 > `flagEnable`: 定时任务的状态,`true`表示定时任务开始执行,`false`表示定时任务停止执行
87 87
88 88
  89 +##### 4. 【网页接口】增加一条定时任务记录
  90 +
  91 +
  92 +- URL: {{localhost}}/boxfish-data-market/market/scheduleJob/addScheduleJob
  93 +- Method: POST
  94 +- RequestBody
  95 +
  96 +```json5
  97 +{
  98 + "operatorAccount": "operatorAccount@b.cn",
  99 +
  100 + "operation": "abc@b.cn",
  101 + "fileName": "导出文件",
  102 + "mailList": "zhangwang@boxfish.cn,huayandong@boxfish.cn",
  103 + "cron": "30 0/1 8-20 * * ?",
  104 + "scriptUpdate": null,
  105 + "scriptQuery": null
  106 +}
  107 +```
  108 +
  109 +> `operatorAccount`:当前记录 操作人账号
  110 +> `operation`:当前定时任务 创建人账号
  111 +> `fileName`:邮件附件名称
  112 +> `mailList`:收件人名称,多个收件人之间使用 英文逗号","间隔开
  113 +> `cron`:定时任务执行时间配置
  114 +> `scriptUpdate`:SQL脚本 更新脚本
  115 +> `scriptQuery`:SQL脚本 查询脚本
  116 +
  117 +
89 118