多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
+++ post:v001/Stars/openPlay *int:udid#用户ID *varchar:token#Token <<< 请求成功 { "data": { "rtmp": "rtmp://5853.livepush.myqcloud.com/live/5853_14888888888888?bizid=5853&txSecret=669c4d60f2da953cd2160fed568ef685&txTime=58c275d8", "channel": 14888888888888, "msg": "温馨提示:倡导绿色文明直播,积极建立向上向善的网络生态环境,平台严禁摄政、涉枪、涉毒、涉保、涉黄、及谩骂等铭感词汇,网警24小时巡查,违规者将终身封号移交公安机关处理", "share": { "title": "罗伯·巴登正在直播", "content": "快来观看直播吧。" }, "mall": [ { "img": "http://misc.360buyimg.com/mtd/pc/index/home/images/logo.v2.png", "url": "https://www.jd.com", "title": "京东" }, { "img": "https://img.alicdn.com/tfs/TB1MaLKRXXXXXaWXFXXXXXXXXXX-480-260.png", "url": "https://www.tmall.com", "title": "天猫" }, { "img": "http://image2.suning.cn/uimg/cms/img/149260278208811058.png", "url": "https://www.suning.com", "title": "苏宁" }, { "img": "http://s.cn.bing.net/th?id=OJ.Zegz6RD3D4x1pA&w=75&h=75&pid=MSNJVFeeds", "url": "https://www.amazon.cn", "title": "亚马逊" }, ] }, "code": 200, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7" } } <<< 登录失效 { "data": { "message": "请先重新登录" }, "code": 300, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | rtmp | 推流地址 | | | channel | 房间ID | | | msg | 警告信息 | v002新增 | | share | 分享信息 | v003新增 | | mall | 商品信息 | v003新增 | #### 请求成功 data['share']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | title | 分享标题 | v003新增 | | content | 分享内容 | v003新增 | #### 请求成功 data['mall']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | img | logo | v003新增 | | url | 网址 | v003新增 | | title | 名称 | v003新增 | <img src="http://star.img.livestaring.com/Document/Stars/openPlay.png">