Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
JiangTengfei
2016-04-22 11:35:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a9424264fe82f76d0b8a1d7b2915974893431685
a9424264
1 parent
0f4c653a
Updated 在线授课接口定义 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
39 deletions
在线授课接口定义.md
在线授课接口定义.md
View file @
a942426
...
...
@@ -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
...
...
Please
register
or
login
to post a comment