🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
+++ post:v001/Gifts/giftList *int:udid#用户ID *varchar:token#Token *int:type#用户类型 <<< 明星礼物 { "data": { "list": [ { "gid": 1, "g_name": "Iphone10p", "g_sponsor": "乐视", "g_amount": 99, } ] }, "code": 200, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "type": "100" } } <<< 用户礼物 { "data": { "list": [ { "cid": 101, "c_name": "一心一意", "c_value": 1 }, { "cid": 102, "c_name": "由衷欣赏", "c_value": 5 }, { "cid": 103, "c_name": "只在乎你一个人", "c_value": 11 }, { "cid": 104, "c_name": "祝你好运", "c_value": 66 }, { "cid": 105, "c_name": "天天祝福", "c_value": 365 }, { "cid": 106, "c_name": "天长地久", "c_value": 999 } ] }, "code": 200, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "type": "10" } } <<< 登录失效 { "data": { "message": "请先重新登录" }, "code": 300, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "type": "100" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "type": "100" } } +++ #### 明星礼物 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | gid | 礼物ID | | | g_name | 名称 | | | g_sponsor | 供货方 | | | g_amount | 可用数量 | | #### 用户礼物 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | list | 礼物列表 | | #### list[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | cid | 礼物ID | | | c_name | 名称 | | | c_value | 价格 | | <img src="http://star.img.livestaring.com/Document/Gifts/giftList.png">