获取主播直播时长
<p><strong>简要描述:</strong> </p>
<pre><code>/**
* 获取主播直播时长
*/</code></pre>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>videoLive/getHostLive.htm</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong>
PS 基础参数必传 </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;">hostId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>主播id</td>
</tr>
<tr>
<td style="text-align: left;">userid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>用户id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"result": "1000",
"msg": "success",
"info": {
"hostLiveTime": 111
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<ul>
<li>hot、 recommended内元素的数据结构相同</li>
</ul>
<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;">hostLiveTime</td>
<td style="text-align: left;">long</td>
<td>主播今日累计直播时长, 单位为s(秒)</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>