多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
+++ post:v001/Gifts/redRandom *int:udid#用户ID *varchar:token#Token *varchar:channel#房间ID *int:amount#发送数量 *int:money#总金额 <<< 请求成功 { "data": { "list": [ { "uid": 21, "u_nickname": "啦啦啦" }, { "uid": 22, "u_nickname": "若璃" } ], "message": "主播已送出2个随机金额的红包", "u_balance": "985.40" }, "code": 200, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "channel": "14888888888888", "amount": "2", "money": "22" } } <<< 登录失效 { "data": { "message": "请先重新登录" }, "code": 300, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "channel": "14888888888888", "amount": "2", "money": "22" } } <<< 赠送失效 { "data": { "message": "您的账户余额不足" }, "code": 400, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "channel": "14888888888888", "amount": "2", "money": "22" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "channel": "14888888888888", "amount": "2", "money": "22" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | message | 提示信息 | | | list | 获奖用户 | | #### 请求成功 list[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | uid | 粉丝ID | | | u_nickname | 粉丝昵称 | | <img src="http://star.img.livestaring.com/Document/Gifts/redRandom.png">