From 6a8996546fa0c4395d495b40c4e3fa8ff0fd98a1 Mon Sep 17 00:00:00 2001 From: lipengjava <lipbb@qq.com> Date: Fri, 19 May 2017 16:03:28 +0800 Subject: [PATCH] max class online --- src/max_class_online.js | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+), 0 deletions(-) create mode 100644 src/max_class_online.js diff --git a/src/max_class_online.js b/src/max_class_online.js new file mode 100644 index 0000000..1e5cc18 --- /dev/null +++ b/src/max_class_online.js @@ -0,0 +1,43 @@ +/** + * @api {post} /3m/meeting/max_class_online.do 20.查询课堂最大在线人数 + * @apiName max_class_online + * @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} online 人数 + * + * @apiSuccessExample {xml} 返回示例 + <?xml version=“1.0” encoding="UTF-8"?> + <result> + <errorCode>0</errorCode> + <mtgKey>10002321</mtgKey> + <online>6</online> + </result> + * + */ -- libgit2 0.24.0