Showing
1 changed file
with
36 additions
and
0 deletions
| @@ -467,3 +467,39 @@ Response: | @@ -467,3 +467,39 @@ Response: | ||
| 467 | "returnMsg": "success" | 467 | "returnMsg": "success" |
| 468 | } | 468 | } |
| 469 | ``` | 469 | ``` |
| 470 | + | ||
| 471 | + | ||
| 472 | +# 10.取消推送接口 | ||
| 473 | +> 老师在发送推送页面点击`取消`按钮调用该接口 | ||
| 474 | + | ||
| 475 | +接口地址:/teaching/student/cancel_push | ||
| 476 | + | ||
| 477 | +请求方式:GET | ||
| 478 | + | ||
| 479 | +Request params: | ||
| 480 | + | ||
| 481 | +|参数名 |是否必须 |说明 |参数类型 | | ||
| 482 | +|--------------|----------|--------|----------| | ||
| 483 | +|work_order_id |是 |工单id |Long | | ||
| 484 | + | ||
| 485 | + | ||
| 486 | +推送 json: | ||
| 487 | + | ||
| 488 | +``` | ||
| 489 | +{ | ||
| 490 | + "work_order_id":12938, | ||
| 491 | + "type":"CANCEL" | ||
| 492 | +} | ||
| 493 | + | ||
| 494 | +``` | ||
| 495 | + | ||
| 496 | +Response: | ||
| 497 | +``` | ||
| 498 | +{ | ||
| 499 | + "data": { | ||
| 500 | + | ||
| 501 | + }, | ||
| 502 | + "returnCode": 200, | ||
| 503 | + "returnMsg": "success" | ||
| 504 | +} | ||
| 505 | +``` |
-
Please register or login to post a comment