🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
+++ post:v001/Live/online *varchar:token#Token *int:lid#会议ID varchar:keywords#要查询的内容 <<< 请求成功 { "data": { "lid": 24, "uid": 1, "name": "test", "channel": "5acddae4", "play": "03:47:32", "click": 0, "status": 2, "viewing": 0, "nickname": "王叔叔", "avatar": "", "users": { "lists": [ { "uid": 1, "nickname": "王叔叔", "avatar": "", "status": 2 } ], "count": 1 } }, "code": 200, "time": 1666666666, "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[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | lid | 直播ID | | | uid | 主播ID | | | name | 直播名称 | | | channel | 房间编号 | | | play | 直播时间 | | | click | 当前观看 | | | status | 培训状态 | 2:直播 9:回放 | | viewing | 累计观看 | | | nickname | 主播昵称 | | | avatar | 主播头像 | | #### 请求成功 data['users']['lists']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | uid | 用户ID | | | nickname | 用户昵称 | | | avatar | 用户头像 | | | status | 是否在麦 | 1:进入2:上麦 |