JiangTengfei

Updated 在线授课接口定义 (markdown)

... ... @@ -54,30 +54,31 @@ Request params:
Response:
```json
```
{
"student_detail": {
"student_info": {
"real_name": "Mmm",
"figure_url": "http://avatars.boxfish.cn/user/12938/figure/1423708364.jpg",
"level": 6,
"level_name": "滔滔6级"
},
"lesson_info": {
"id": "L3NoYXJlL3N2bi8yMDE1MDkxMOa1i-ivleaooeadvy8wMTMu5qih5p2_5ZCI6ZuGLnhsc3g",
"name": "模板合集",
"type": "全面提高",
"difficulty": "4",
"lastModified": 1445001009175,
"cover": "10fb562cdc2b3c184a418c1c18d0d8b8"
},
"achievement_info": {
"read_word_count": 0,
"listening_time": 0,
"record_time": 0,
"word_count": 209
},
"course_type_ratio":
"data": {
"student_detail": {
"student_info": {
"real_name": "Mmm",
"figure_url": "http://avatars.boxfish.cn/user/12938/figure/1423708364.jpg",
"level": 6,
"level_name": "滔滔6级"
},
"lesson_info": {
"id": "L3NoYXJlL3N2bi8yMDE1MDkxMOa1i-ivleaooeadvy8wMTMu5qih5p2_5ZCI6ZuGLnhsc3g",
"name": "模板合集",
"type": "全面提高",
"difficulty": "4",
"lastModified": 1445001009175,
"cover": "10fb562cdc2b3c184a418c1c18d0d8b8"
},
"achievement_info": {
"read_word_count": 0,
"listening_time": 0,
"record_time": 0,
"word_count": 209
},
"course_type_ratio":
[
{
"course_type": "口语",
... ... @@ -95,14 +96,16 @@ Response:
"course_type": "单词",
"ratio": "10%"
}
]
]
},
"group_room_info": {
"group_name": "BOXFiSH Online Teaching Group",
"group_id": "@TGS#2SMUBTAER",
"chat_room_id": 359755386104019
}
},
"group_room_info": {
"group_name": "BOXFiSH Online Teaching Group",
"group_id": "@TGS#2SMUBTAER",
"chat_room_id": 359755386104019
}
"returnCode": 200,
"returnMsg": "success"
}
```
... ... @@ -135,6 +138,12 @@ Request params:
}
```
Response:
```
...
```
# 3.课程正常结束接口
接口地址:/teaching/student/finish
... ... @@ -149,9 +158,13 @@ Request params:
返回值:
status code:200
```
{
"data": {},
"returnCode": 200,
"returnMsg": "success"
}
```
... ... @@ -176,7 +189,13 @@ Request body:
Response
status code: 200
```
{
"data": {},
"returnCode": 200,
"returnMsg": "success"
}
```
# 5.客户端断线重连获取课程状态
> 说明:
... ... @@ -196,7 +215,11 @@ Response:
```
{
"recover": true
"data": {
"recover": true
},
"returnCode": 200,
"returnMsg": "success"
}
```
... ... @@ -217,9 +240,12 @@ Request params:
Response:
```
{
"group_id": "@TGS#2SMUBTAER",
"chat_room_id": 359755386104019
"data": {
"group_id": "@TGS#2SMUBTAER",
"chat_room_id": 359755386104019
},
"returnCode": 200,
"returnMsg": "success"
}
```
\ No newline at end of file
``````
\ No newline at end of file
... ...