正在显示
1 个修改的文件
包含
79 行增加
和
0 行删除
src/edit_test_site.js
0 → 100644
1 | +/** | ||
2 | + * @api {post} /3m/meeting/edit_test_site.do 18.编辑试用站点 | ||
3 | + * @apiName edit_test_site | ||
4 | + * @apiGroup site | ||
5 | + * @apiVersion 1.6.0 | ||
6 | + * @apiDescription 编辑创建试用站点 | ||
7 | + * | ||
8 | + * @apiParam {String} siteId 站点标识 | ||
9 | + * @apiParam {String} email 联系人邮箱 | ||
10 | + * @apiParam {String} siteName 站点名称 | ||
11 | + * @apiParam {String} siteDomain 站点域名 | ||
12 | + * @apiParam {String} endDate 站点失效时间 | ||
13 | + * @apiParam {int} autoRecording 是否自动录制:1 是,0 否 | ||
14 | + * @apiParam {int} maxCapacity 允许最大并发人数 | ||
15 | + * @apiParam {int} maxAudioChannels 最大音频路数 | ||
16 | + * @apiParam {int} maxVideoChannels 最大视频路数 | ||
17 | + * @apiParam {Boolean} customLogo 是否自定义站点logo | ||
18 | + * @apiParam {String} webCopyright 站点Copyright | ||
19 | + * @apiParam {int} supportMedia 是否支持媒体共享:1 是,0 否 | ||
20 | + * @apiParam {int} supportRecord 是否支持录制:1 是,0 否 | ||
21 | + * @apiParam {int} supportVideo 是否支持视频:1 是,0 否 | ||
22 | + * @apiParam {int} supportScreen 是否支持屏幕共享:1 是,0 否 | ||
23 | + * @apiParam {int} pptFlash 是否支持动态PPT:1 是,0 否 | ||
24 | + * @apiParam {int} allowSettingResolution 是否支持切换视频分辨率:1 是,0 否 | ||
25 | + * @apiParam {String} qqSupport 课堂里的QQ求助对象 | ||
26 | + * @apiParam {String} mobileSupport 课堂里的手机求助对象 | ||
27 | + * @apiParam {int} siteType=0 产品授权方式:1 正式用户,0 试用用户 | ||
28 | + * @apiParam {Long} timestamp 时间戳 | ||
29 | + * @apiParam {String} authId MD5(key+siteId+timestamp), 其中 key 为与系统约定的加密 key | ||
30 | + * | ||
31 | + * @apiSuccess {int} errorCode | ||
32 | + * 0:正常 <br/> | ||
33 | + * 1:站点不存在 <br/> | ||
34 | + * 2:站点未到生效日期 <br/> | ||
35 | + * 4:authId 错误 <br/> | ||
36 | + * 5:authId 不能重复使用 <br/> | ||
37 | + * 6:timestamp 超时 <br/> | ||
38 | + * 7:maxAudioChannels不能小于0 <br/> | ||
39 | + * 8:maxAudioChannels不能大于5 <br/> | ||
40 | + * 9:maxVideoChannels不能小于0 <br/> | ||
41 | + * 10:maxVideoChannels不能大于5 <br/> | ||
42 | + * 11:endDate 格式不正确 <br/> | ||
43 | + * @apiSuccess {String} msg 错误信息 | ||
44 | + * | ||
45 | + * @apiParamExample {xml} 请求示例 | ||
46 | + <?xml version="1.0" encoding="UTF-8"?> | ||
47 | + <param> | ||
48 | + <siteId>shanghai</siteId> | ||
49 | + <timestamp>{timestamp}</timestamp> | ||
50 | + <authId>{authId}</authId> | ||
51 | + <email>test@sample.cn</email> | ||
52 | + <siteName>测试站点</siteName> | ||
53 | + <siteDomain>www</siteDomain> | ||
54 | + <endDate>2020-08-20</endDate> | ||
55 | + <autoRecording>false</autoRecording> | ||
56 | + <maxCapacity>1000</maxCapacity> | ||
57 | + <maxAudioChannels>5</maxAudioChannels> | ||
58 | + <maxVideoChannels>5</maxVideoChannels> | ||
59 | + <customLogo>false</customLogo> | ||
60 | + <webCopyright>copyright</webCopyright> | ||
61 | + <supportMedia>1</supportMedia> | ||
62 | + <supportRecord>1</supportRecord> | ||
63 | + <supportVideo>1</supportVideo> | ||
64 | + <supportScreen>1</supportScreen> | ||
65 | + <pptFlash>1</pptFlash> | ||
66 | + <allowSettingResolution>false</allowSettingResolution> | ||
67 | + <qqSupport>12390324323</qqSupport> | ||
68 | + <mobileSupport>18900000000</mobileSupport> | ||
69 | + <siteType>1</siteType> | ||
70 | + </param> | ||
71 | + * | ||
72 | + * @apiSuccessExample {xml} 返回示例 | ||
73 | + <?xml version="1.0" encoding="UTF-8"?> | ||
74 | + <result> | ||
75 | + <errcode>0</errcode> | ||
76 | + <msg>操作成功</msg> | ||
77 | + </result> | ||
78 | + * | ||
79 | + */ |
-
请 注册 或 登录 后发表评论