🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
+++ post:v001/Mike/upDown *varchar:token#签名 *int:lid#直播ID <<< 请求成功 { "data": { "message": "上麦成功", "status": "1", "rtmp": "rtmp://22824.livepush.myqcloud.com/live/22824_5ad593ab_s_1?bizid=22824&txSecret=856dc8e40f78738a2ccb6a333259efdf&txTime=5ad73778", "myurl": "rtmp://22824.liveplay.myqcloud.com/live/22824_5ad593ab_s_1?bizid=22824&txSecret=856dc8e40f78738a2ccb6a333259efdf&txTime=5ad73778" }, "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[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | message | 提示信息 | | | status | 上麦状态 | 1:准备上麦2:已经下麦 | | rtmp | 累计观看 | | | myurl | 视频评分 | |