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
echo
2016-07-08 16:10:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b95ac3e2ab2fb45f67493fc034eff5e4dbb6667a
b95ac3e2
1 parent
7209569f
Updated 远程教学之流程消息 (markdown)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletions
远程教学之流程消息.md
远程教学之流程消息.md
View file @
b95ac3e
...
...
@@ -40,7 +40,27 @@
### 流程消息定义
*
学生上报自己的用户Id
*
由教师端通过腾讯云的消息通知学生上课(对应鱼卡状态:WAITFORSTUDENT)
```
{
"type"
:
"flow"
,
"command"
:
"notifyBeginLesson"
,
"workOrderId"
:
6806
,
"teacherId"
:
1296861
,
"groupName"
:
"BOXFiSH Online Teaching Group"
,
"groupId"
:
"@TGS#2WHIZEBEO"
,
"chatRoomId"
:
212968615
,
"startTime"
:
"2016-06-24 13:30:00"
,
"endTime"
:
"2016-06-24 14:00:00"
,
"teacherName"
:
"喜洋洋"
,
"figureUrl"
:
"http://wx.qlogo.cn/mmopen/PiajxSqBRaEJrztQnGAk8X1G2A0AfjvPRBdgLFOjxsM9AoicoOUrH3Yia3qY9uic5ibQO6wMkJ6bPUx15IN4Vrxv8CA/0"
}
如果老师姓名没有的话,设置为默认名
"盒子鱼"
,教师端和学生端都做这个判断
```
*
学生上报自己的用户Id(对应的鱼卡状态:STUDENT_ACCEPTED)
*
学生收到推送之后,根据推送的信息,加入到指定的群。
*
如果该学生之前已经加入过该群,则加群之后会返回已经入群的错误码,学生可以发送自定义消息告诉教师,自己已经入群。
*
如果该学生第一次入群,把申请消息设置为自己的id,则教师端会收到有用户入群的消息,根据消息内容判断是否允许入群。
...
...
Please
register
or
login
to post a comment