获取许可信息
获取许可信息
请求参数:
无
请求例子:
- 通过CDN方式引入使用
<script src="https://cdn.jsdelivr.net/npm/umeet-js-sdk@1.0.16/UmeetJsSdk.min.js" type="text/javascript"></script> <script type="text/javascript"> // 获取系统权限信息 function getLicense() { UmeetJsSdk.getLicense(function (res) { console.log(res) }) } </script> - 通过NPM引入使用
import UmeetJsSdk from 'umeet-js-sdk'; /** * 获取会议配置项 */ getLicense () { let that = this; UmeetJsSdk.getLicense().then(res => { console.log(res) that.requestContent = res; that.checkStatus.getConfigurations = 'success'; }) }
响应结果:
| Parameters | Description |
|---|---|
| id | 许可ID |
| expireDate | 到期时间 |
| api | API |
| branding | 品牌 |
| rooms | 会议室 |
| devices | 设备 |
| roomBoards | 门屏 |
| roomPanels | 平板 |
| floorBoards | 前台大盘 |
| terminals | 视频终端 |
| humanDetectors | 热感主机 |
| participantConcurrent | 与会者并发 |
| webinar | 网络研讨会 |
| liveMeeting | 直播会议 |
| approve | 会议审批 |
| shareScreen | 共享屏幕 |
| tencent | 腾讯会议 |
| tenantResources | 租户资源 |
| notice | 许可提醒 |
| cloudServices | 云端服务 |
| umeet | 会议 |
| live | 直播 |
| telephony | 电话 |
| limit | 限制数量 |
如:
{
status: 200,
data: {
"id": "402896276f7f29ae016f7f318880082",
"expireDate": 1589516769000,
"api": true,
"branding": true,
"rooms": 200,
"devices": {
"roomBoards": {
"limit": 30
},
"roomPanels": {
"limit": 100
},
"floorBoards": {
"limit": 120
},
"terminals": {
"limit": 130
},
"humanDetectors": {
"limit": 10
},
"accessControllers": {
"limit": "10"
},
"controlSystems": {
"limit": 10
}
},
"umeet": {
"100": 1,
"200": 0,
"25": 4,
"300": 0,
"500": 0,
"50": 1,
"10": 4
}
}
}