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)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
9 deletions
在线授课接口定义.md
在线授课接口定义.md
View file @
a942426
...
...
@@ -54,8 +54,9 @@ Request params:
Response:
```
json
```
{
"data"
:
{
"student_detail"
:
{
"student_info"
:
{
"real_name"
:
"Mmm"
,
...
...
@@ -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
}
},
"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:
```
{
"data"
:
{
"recover"
:
true
},
"returnCode"
:
200
,
"returnMsg"
:
"success"
}
```
...
...
@@ -217,9 +240,12 @@ Request params:
Response:
```
{
"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