推荐音频列表
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>推荐音频列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/author/api/recommendAudioList</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </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;">page</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>数量</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;ok&quot;,
&quot;data&quot;: {
&quot;total&quot;: 4,
&quot;current_page&quot;: 1,
&quot;per_page&quot;: 10,
&quot;last_page&quot;: 1,
&quot;data&quot;: [
{
&quot;audio_id&quot;: 1,
&quot;title&quot;: &quot;YINGYUE1&quot;,
&quot;path&quot;: &quot;https://oss.xrzww.com/chapter_audio/R.I.O.(%E9%94%90%E6%BE%B3%E4%B9%90%E9%98%9F)%20-%20Like%20I%20Love%20You.mp3&quot;,
&quot;duration&quot;: 200,
&quot;is_coll&quot;: true
},
{
&quot;audio_id&quot;: 2,
&quot;title&quot;: &quot;YINGYUE2&quot;,
&quot;path&quot;: &quot;https://oss.xrzww.com/chapter_audio/%E5%90%8E%E6%B5%B7%E5%A4%A7%E9%B2%A8%E9%B1%BC%20-%20%E5%BF%83%E8%A6%81%E9%87%8E.mp3&quot;,
&quot;duration&quot;: 200,
&quot;is_coll&quot;: true
},
{
&quot;audio_id&quot;: 3,
&quot;title&quot;: &quot;YINGYUE3&quot;,
&quot;path&quot;: &quot;https://oss.xrzww.com/chapter_audio/%E5%AD%99%E9%9C%B2%20-%20%E5%85%89%E8%BE%89%E5%B2%81%E6%9C%88.mp3&quot;,
&quot;duration&quot;: 200,
&quot;is_coll&quot;: false
},
{
&quot;audio_id&quot;: 4,
&quot;title&quot;: &quot;YINGYUE4&quot;,
&quot;path&quot;: &quot;https://oss.xrzww.com/chapter_audio/%E6%9C%AA%E7%9F%A5%E6%AD%8C%E6%89%8B%20-%20Into%20The%20Fire%20(TV).mp3&quot;,
&quot;duration&quot;: 200,
&quot;is_coll&quot;: false
}
]
}
}</code></pre>
<h5>返回参数说明</h5>
<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;">audio_id</td>
<td style="text-align: left;">int</td>
<td>音频id</td>
</tr>
<tr>
<td style="text-align: left;">title</td>
<td style="text-align: left;">int</td>
<td>标题</td>
</tr>
<tr>
<td style="text-align: left;">path</td>
<td style="text-align: left;">int</td>
<td>路径</td>
</tr>
<tr>
<td style="text-align: left;">duration</td>
<td style="text-align: left;">int</td>
<td>时长 秒</td>
</tr>
<tr>
<td style="text-align: left;">is_coll</td>
<td style="text-align: left;">int</td>
<td>是否收藏</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>