v2.4.8
<p>[toc]</p>
<h1>个人信息页接口调整</h1>
<table>
<thead>
<tr>
<th style="text-align: left;">接口名</th>
<th style="text-align: left;">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">/v1/user/getUserFull</td>
<td style="text-align: left;">返回值增加字段</td>
</tr>
<tr>
<td style="text-align: left;">/v1/user/getUserSelf</td>
<td style="text-align: left;">返回值增加字段</td>
</tr>
</tbody>
</table>
<pre><code>以上两个接口应答结构均增加以下字段:
...
ViewNum int `json:"view_num"`
Supporters []*MineSupporter `json:"supporters,omitempty"` // 结构见下面
ShowMounts []*MineShowMount `json:"showmounts,omitempty"` // 结构见下面
...
type MineSupporter struct {
UserId string `json:"uid"`
Name string `json:"name"`
Photo *Photo `json:"photo"`
Value int `json:"value"` // 礼物价值
}
type MineShowMount struct {
ItemId int `json:"itemId"`
Used int `json:"used"` // 1: 正在使用, 0:没使用
RemainSecond int `json:"remains"` // 剩余时间秒
}</code></pre>
<h1>首页直播间刷新</h1>
<table>
<thead>
<tr>
<th style="text-align: left;">接口名</th>
<th style="text-align: left;">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">/v1/room/popular</td>
<td style="text-align: left;">增加cc字段</td>
</tr>
<tr>
<td style="text-align: left;">/v1/room/H5Entities</td>
<td style="text-align: left;">里面的cc入参 同样按以下规则</td>
</tr>
</tbody>
</table>
<pre><code>入参:
新增: cc string // 客户端提取规则: 优先按用户授权的提取, 否则按本机设置国家提取.</code></pre>