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
姜腾飞
2016-06-24 10:23:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c0d221ab22291c29d7efef5cafdc38a8d50ab1c3
c0d221ab
1 parent
11a5ff6d
Updated 在线授课接口定义 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
0 deletions
在线授课接口定义.md
在线授课接口定义.md
View file @
c0d221a
...
...
@@ -155,6 +155,65 @@ Response:
}
```
# 1.plus 校验工单状态接口
接口地址:/teaching/fishcard/validate
请求方式:GET
Request Params:
|参数名 |是否必须 |说明 |参数类型 |
|--------------|-----------|--------|-------------------|
|work_order_id |是 |工单id |Long |
Response:
1.
工单有效
```
{
"data"
:
{},
"returnCode"
:
200
,
"returnMsg"
:
"success"
}
```
2.
工单无效
```
(1) 未到上课时间
{
"data": {},
"returnCode": 10,
"returnMsg": "未到上课时间"
}
(2) 迟到未在上课时间
{
"data": {},
"returnCode": 20,
"returnMsg": "迟到未在上课时间"
}
(3) 不存在对应的工单
{
"data": {},
"returnCode": 1,
"returnMsg": "不存在对应的工单"
}
```
# 2.发推送 - 通知学生开始上课
> 说明:通知某次课程相应的学生准备上课,通过发送推送信息的方式通知给学生。推送的通知中应该包括**在线授课必备消息**和**授课教师的基本信息**
>
...
...
Please
register
or
login
to post a comment