conf_log_total.js
2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
 * @api {post} /3m/meeting/conf_log_total.do 14.查询课堂用户进出总记录
 * @apiName conf_log_total
 * @apiGroup user
 * @apiVersion 1.6.0
 * @apiDescription 查询单个课堂用户进出课堂的记录。统计用户第一次加入课堂时间和最后一次离开时间
 *
 * @apiParam {String} siteId 站点标识
 * @apiParam {String} mtgKey 课堂的唯一标识,由第三方维护,最大长度64
 * @apiParam {Long} timestamp 时间戳
 * @apiParam {String} authId MD5(key+siteId+mtgKey+timestamp), 其中 key 为与系统约定的加密 key
 *
 * @apiParamExample {xml} 请求示例
 <?xml version="1.0" encoding="UTF-8"?>
 <param>
 <siteId>shanghai</siteId>
 <mtgKey>10002321</mtgKey>
 <timestamp>1392032123210</timestamp>
 <authId>4297f44b13955235245b2497399d7a93</authId>
 </param>
 *
 * @apiSuccess {int} errorCode
 * 0:正常 <br/>
 * 1:siteId 错误,站点不存在或已删除 <br/>
 * 2:站点未到生效日期 <br/>
 * 3: 站点过期 <br/>
 * 4:authId 错误 <br/>
 * 5:authId 不能重复使用 <br/>
 * 6:timestamp 超时 <br/>
 * 7:mtgKey 不存在 <br/>
 * 10:报文格式错误 <br/>
 * @apiSuccess {String} mtgKey  传入的参数
 * @apiSuccess {int} logCount  总记录数
 * @apiSuccess {List} logList  列表
 * @apiSuccess {Object} logList.logInfo  进出信息对象
 * @apiSuccess {String} logList.logInfo.userId  用户ID
 * @apiSuccess {String} logList.logInfo.userName  用户姓名
 * @apiSuccess {int} logList.logInfo.userRole  用户角色
 * @apiSuccess {String} logList.logInfo.joinTime  进入时间
 * @apiSuccess {String} logList.logInfo.exitTime  离开时间
 *
 * @apiSuccessExample {xml} 返回示例
 <?xml version=“1.0” encoding="UTF-8"?>
 <result>
 <errorCode>0</errorCode>
 <mtgKey>10002321</mtgKey>
 <logCount>321<logCount>
 <logList>
     <logInfo>
         <userId>12000232</userId>
         <userName>ChinaBj001</userName>
         <userRole>3</userRole>
         <joinTime>2013-09-11 14:02:05</joinTime>
         <exitTime>2013-09-11 14:15:47</exitTime>
     </logInfo>
 </logList>
 </result>
 *
 */