Browse Source

任务回调方法请求路径改变

wudla 4 years ago
parent
commit
0020c9ddd6
1 changed files with 20 additions and 21 deletions
  1. 20 21
      docs/task/task_api.md

+ 20 - 21
docs/task/task_api.md

@@ -172,11 +172,30 @@
 }
 ```
 
+### 任务记录
+
+请求方法:POST
+
+请求路径:/task/record/query
+
+请求参数:
+
+```json
+查询字段:
+{
+  "id": "1",
+  "taskId": "t1",
+  "startTime": 1602802722000,
+  "endTime": 1602802725000,
+  "success": 1
+}
+```
+
 #### 回调接口
 
 请求方法:POST
 
-请求路径:/task/cfg/receive?userId=用户id&groupCode=集团编码&projectId=项目Id&appId=应用id
+请求路径:/task/record/receive?userId=用户id&groupCode=集团编码&projectId=项目Id&appId=应用id
 
 请求参数:
 
@@ -204,23 +223,3 @@
     "message": ""
 }
 ```
-
-### 任务记录
-
-请求方法:POST
-
-请求路径:/task/record/query
-
-请求参数:
-
-```json
-查询字段:
-{
-  "id": "1",
-  "taskId": "t1",
-  "startTime": 1602802722000,
-  "endTime": 1602802725000,
-  "success": 1
-}
-```
-