1.4 版 获取礼物柜
<p><strong>简要描述:</strong> </p>
<ul>
<li>用户注册接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/app/getAnthorGiftList.do</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<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;">userId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>主播->用户编号</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"m_object": {
"total": 3,
"data": [{
"t_gift_still_url": "https://img-1256929999.cos.ap-chengdu.myqcloud.com/201807050550448514.png",
"totalCount": 0,
"t_gift_name": "游轮"
}, {
"t_gift_still_url": "https://img-1256929999.cos.ap-chengdu.myqcloud.com/201808090937413689.png",
"totalCount": 0,
"t_gift_name": "城堡"
}, {
"t_gift_still_url": "https://img-1256929999.cos.ap-chengdu.myqcloud.com/201808090938263124.png",
"totalCount": 2,
"t_gift_name": "爱心"
}, {
"t_gift_still_url": "https://img-1256929999.cos.ap-chengdu.myqcloud.com/201808090938375622.png",
"totalCount": 0,
"t_gift_name": "蛋糕"
}, {
"t_gift_still_url": "https://img-1256929999.cos.ap-chengdu.myqcloud.com/201808090939145242.png",
"totalCount": 0,
"t_gift_name": "皇冠"
}, {
"t_gift_still_url": "https://img-1256929999.cos.ap-chengdu.myqcloud.com/201808090939249114.png",
"totalCount": 0,
"t_gift_name": "戒子"
}, {
"t_gift_still_url": "https://img-1256929999.cos.ap-chengdu.myqcloud.com/201808090940119534.png",
"totalCount": 1,
"t_gift_name": "玫瑰"
}, {
"t_gift_still_url": "https://img-1256929999.cos.ap-chengdu.myqcloud.com/20180809094021451.png",
"totalCount": 0,
"t_gift_name": "汽车"
}]
},
"m_strMessage": "",
"m_istatus": 1
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">total</td>
<td style="text-align: left;">int</td>
<td>总收到礼物份数</td>
</tr>
<tr>
<td style="text-align: left;">t_gift_still_url</td>
<td style="text-align: left;">String</td>
<td>礼物图片地址</td>
</tr>
<tr>
<td style="text-align: left;">totalCount</td>
<td style="text-align: left;">int</td>
<td>收到数量</td>
</tr>
<tr>
<td style="text-align: left;">t_gift_name</td>
<td style="text-align: left;">String</td>
<td>礼物名称</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>