ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
+++ post:v001/Gift/lists *varchar:token#签名 *varchar:type#类型1:充值列表2:礼物列表 <<< 请求成功 { "data": { "lists": [ { "gid": 1, "name": "棒棒糖", "image": "https://cum.img.livestaring.com/v001/Gift/2018/04/15245565758086.png", "price": 1 }, { "gid": 2, "name": "爱心小熊", "image": "https://cum.img.livestaring.com/v001/Gift/2018/04/15245566186643.png", "price": 2 }, { "gid": 3, "name": "水晶球", "image": "https://cum.img.livestaring.com/v001/Gift/2018/04/15245566471366.png", "price": 3 }, { "gid": 4, "name": "爱心气球", "image": "https://cum.img.livestaring.com/v001/Gift/2018/04/15245566658650.png", "price": 4 }, { "gid": 5, "name": "大礼包", "image": "https://cum.img.livestaring.com/v001/Gift/2018/04/15245567366950.png", "price": 6 }, { "gid": 6, "name": "草莓巧克力", "image": "https://cum.img.livestaring.com/v001/Gift/2018/04/15245567494559.png", "price": 7 }, { "gid": 7, "name": "木偶", "image": "https://cum.img.livestaring.com/v001/Gift/2018/04/15245567772568.png", "price": 8 }, { "gid": 8, "name": "玫瑰花", "image": "https://cum.img.livestaring.com/v001/Gift/2018/04/15245568079365.png", "price": 9 } ] }, "code": 200, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "type": 2 } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "type": 2 } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "type": 2 } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "type": 2 } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | gid | 礼物ID | | | name | 礼物名称 | | | image | 礼物图片 | | | price | 价格 | 分/钻石 |