美女直播

美女直播


获取用户收到的礼物

<h5>简要描述</h5> <ul> <li>获取用户收到的礼物</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://zhibo.cookiegeeks.com/user/user-gifts</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>token</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { "code": 200, "msg": "操作成功", "data": [ { "id": "3", "user_id": "10", "gift_id": "2", "target_id": "0", "num": "1", "coins": "10", "room_id": "10086", "type": "1", "create_time": "1634110423", "gift": { "id": "2", "titile": "10coins", "price": "10", "image": "https://new-dev-1302911647.cos.ap-chengdu.myqcloud.com/coinsIcon/htl.jpg", "type": "1", "create_time": "0" } }, { "id": "2", "user_id": "10", "gift_id": "2", "target_id": "0", "num": "1", "coins": "10", "room_id": "10086", "type": "1", "create_time": "1634107281", "gift": { "id": "2", "titile": "10coins", "price": "10", "image": "https://new-dev-1302911647.cos.ap-chengdu.myqcloud.com/coinsIcon/htl.jpg", "type": "1", "create_time": "0" } }, { "id": "1", "user_id": "10", "gift_id": "2", "target_id": "0", "num": "10086", "coins": "10", "room_id": "1", "type": "1", "create_time": "1634107110", "gift": { "id": "2", "titile": "10coins", "price": "10", "image": "https://new-dev-1302911647.cos.ap-chengdu.myqcloud.com/coinsIcon/htl.jpg", "type": "1", "create_time": "0" } } ] }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML