🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
+++ post:v001/Live/back *varchar:token#签名 *int:lid#直播ID <<< 请求成功 { "data": { "info": { "lid": 2, "uid": 1, "name": "新用户8010的视频会议", "channel": "5aba0f6b", "play": "00:00:00", "click": 0, "status": 9, "viewing": 5, "nickname": "王叔叔", "avatar": "" }, "url": [ "https://1253124583.vod2.myqcloud.com/26e2b101vodgzp1253124583/7247905b7447398155199505596/playlist_eof.m3u8", "https://1253124583.vod2.myqcloud.com/db0a53a9vodtransgzp1253124583/7247905b7447398155199505596/v.f20.mp4", "https://1253124583.vod2.myqcloud.com/db0a53a9vodtransgzp1253124583/7247905b7447398155199505596/v.f230.m3u8" ] }, "code": 200, "time": 1505441278, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "lid": "1" } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "lid": "1" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "lid": "1" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "lid": "1" } } +++ #### 请求成功 data['info']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | lid | 直播ID | | | uid | 主播ID | | | name | 直播名称 | | | channel | 房间编号 | | | play | 直播时间 | | | click | 当前观看 | | | status | 培训状态 | 2:直播 9:回放 | | viewing | 累计观看 | | | nickname | 主播昵称 | | | avatar | 主播头像 | |