Showing
1 changed file
with
41 additions
and
0 deletions
| @@ -508,4 +508,45 @@ Response: | @@ -508,4 +508,45 @@ Response: | ||
| 508 | "returnCode": 200, | 508 | "returnCode": 200, |
| 509 | "returnMsg": "success" | 509 | "returnMsg": "success" |
| 510 | } | 510 | } |
| 511 | +``` | ||
| 512 | + | ||
| 513 | +# 11.学生进入课堂状态回调接口-学生端调用 | ||
| 514 | +> `status_type`参数说明:老师点击`立即上课`后学生收到推送,学生点击接受后调该接口传`ACCEPTED`,上课资源准备完成后再次调用该接口,传`READY` | ||
| 515 | + | ||
| 516 | +接口地址:/teaching/callback/student_status | ||
| 517 | + | ||
| 518 | +请求方式:POST | ||
| 519 | + | ||
| 520 | +Request params: | ||
| 521 | + | ||
| 522 | +|参数名 |是否必须 |说明 |参数类型 | | ||
| 523 | +|--------------|----------|--------|----------| | ||
| 524 | +|work_order_id |是 |工单id |Long | | ||
| 525 | +|status_type |是 |状态类型 |"ACCEPTED" or "READY"| | ||
| 526 | + | ||
| 527 | +Response: | ||
| 528 | + | ||
| 529 | +成功: | ||
| 530 | + | ||
| 531 | +``` | ||
| 532 | +{ | ||
| 533 | + "data": { | ||
| 534 | + | ||
| 535 | + }, | ||
| 536 | + "returnCode": 200, | ||
| 537 | + "returnMsg": "success" | ||
| 538 | +} | ||
| 539 | +``` | ||
| 540 | + | ||
| 541 | +失败: | ||
| 542 | + | ||
| 543 | +``` | ||
| 544 | +{ | ||
| 545 | + "data": { | ||
| 546 | + | ||
| 547 | + }, | ||
| 548 | + "returnCode": 106, | ||
| 549 | + "returnMsg": "学生状态回调失败" | ||
| 550 | +} | ||
| 551 | + | ||
| 511 | ``` | 552 | ``` |
-
Please register or login to post a comment