🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
>[warning] ### 更新说明 > **v004版新增 suid 参数** +++ post:v004/Homes/editRoom *int:udid#用户ID *varchar:token#Token *varchar:channel#房间ID *int:suid#明星ID *int:status#房间状态 <<< 请求成功 { "data": { "url": [ "rtmp://5853.liveplay.myqcloud.com/live/5853_14888888888888", "http://5853.liveplay.myqcloud.com/live/5853_14888888888888.flv", "http://5853.liveplay.myqcloud.com/live/5853_14888888888888.m3u8" ], "message": "成功进入房间", "free": "3" }, "code": 200, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "channel": "14888888888888", "suid": "12", "status": "1" } } <<< 登录失效 { "data": { "message": "请先重新登录" }, "code": 300, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "channel": "14888888888888", "status": "1" } } <<< 支付失败 { "data": { "message": "支付金额与房间价格不匹配" }, "code": 400, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "channel": "14888888888888", "status": "1" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "channel": "14888888888888", "status": "1" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | url | 观看地址 | | | message | 提示信息 | | | free | 免费数量 | |