正在显示
1 个修改的文件
包含
42 行增加
和
0 行删除
src/count_online.js
0 → 100644
1 | +/** | ||
2 | + * @api {post} /3m/meeting/count_online.do 10.查询课堂在线人数 | ||
3 | + * @apiName count_online | ||
4 | + * @apiGroup meeting | ||
5 | + * @apiVersion 1.6.0 | ||
6 | + * @apiDescription 查询课堂在线人数(正在上课的人数) | ||
7 | + * | ||
8 | + * @apiParam {String} siteId 站点标识 | ||
9 | + * @apiParam {String} mtgKey 课堂标识 | ||
10 | + * @apiParam {Long} timestamp 时间戳 | ||
11 | + * @apiParam {String} authId MD5(key+siteId+mtgKey+timestamp) | ||
12 | + * | ||
13 | + * @apiParamExample {xml} 请求示例 | ||
14 | + <?xml version="1.0" encoding="UTF-8"?> | ||
15 | + <param> | ||
16 | + <siteId>shanghai</siteId> | ||
17 | + <mtgKey>10002321</mtgKey> | ||
18 | + <timestamp>1392032123210</timestamp> | ||
19 | + <authId>4297f44b13955235245b2497399d7a93</authId> | ||
20 | + </param> | ||
21 | + * | ||
22 | + * @apiSuccess {int} errorCode | ||
23 | + * 0:正常 <br/> | ||
24 | + * 1:siteId 错误,站点不存在或已删除 <br/> | ||
25 | + * 2:站点未到生效日期 <br/> | ||
26 | + * 3: 站点过期 <br/> | ||
27 | + * 4:authId 错误 <br/> | ||
28 | + * 6:timestamp 超时 <br/> | ||
29 | + * 7:mtgKey 不存在 <br/> | ||
30 | + * 10:报文格式错误 <br/> | ||
31 | + * @apiSuccess {String} mtgKey 传入的值 | ||
32 | + * @apiSuccess {int} online 当前在线人数 | ||
33 | + * | ||
34 | + * @apiSuccessExample {xml} 返回示例 | ||
35 | + <?xml version=“1.0” encoding="UTF-8"?> | ||
36 | + <result> | ||
37 | + <errorCode>0</errorCode> | ||
38 | + <mtgKey>10002321</mtgKey> | ||
39 | + <online>18</online> | ||
40 | + </result> | ||
41 | + * | ||
42 | + */ |
-
请 注册 或 登录 后发表评论