听书剧集目录
<h5>简要描述</h5>
<ul>
<li>听书剧集目录</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/api/listenDirectory</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;">listen_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>听书id</td>
</tr>
<tr>
<td style="text-align: left;">orderBy</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>排序 asc正序 desc倒序</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"message": "ok",
"data": {
"data": [
{
"id": 1,
"listen_id": 3,
"user_id": 86578,
"author_id": 30358,
"novel_id": 20916,
"title": "第一卷",
"description": "第一卷",
"episode_num": 2,
"sort": 10,
"create_time": 0,
"update_time": 0,
"created_at": "2021-08-05 13:52:54",
"updated_at": "2021-08-11 14:17:46",
"episode_list": [
{
"id": 1,
"listen_id": 3,
"user_id": 86578,
"author_id": 30358,
"novel_id": 20916,
"volume_id": 1,
"title": "追仙001 太白历劫",
"description": "",
"duration": 0,
"is_pay": 0,
"show_status": 1,
"price": 0,
"pre_episode_id": 0,
"next_episode_id": 2,
"episode_post_num": 3,
"sort": 0,
"create_time": 1628144951,
"update_time": 1628144951,
"is_subscribe": false
},
{
"id": 2,
"listen_id": 3,
"user_id": 86578,
"author_id": 30358,
"novel_id": 20916,
"volume_id": 1,
"title": "追仙002 决意下凡",
"description": "",
"duration": 0,
"is_pay": 0,
"show_status": 1,
"price": 0,
"pre_episode_id": 1,
"next_episode_id": 3,
"episode_post_num": 0,
"sort": 0,
"create_time": 1628144951,
"update_time": 1628144951,
"is_subscribe": false
}
]
},
{
"id": 2,
"listen_id": 3,
"user_id": 86578,
"author_id": 30358,
"novel_id": 20916,
"title": "第二卷",
"description": "第二卷",
"episode_num": 2,
"sort": 20,
"create_time": 0,
"update_time": 0,
"created_at": "2021-08-05 13:52:54",
"updated_at": "2021-08-11 14:17:59",
"episode_list": [
{
"id": 3,
"listen_id": 3,
"user_id": 86578,
"author_id": 30358,
"novel_id": 20916,
"volume_id": 2,
"title": "追仙003 法宝六藏锦盒",
"description": "",
"duration": 0,
"is_pay": 0,
"show_status": 1,
"price": 0,
"pre_episode_id": 2,
"next_episode_id": 4,
"episode_post_num": 0,
"sort": 0,
"create_time": 1628144951,
"update_time": 1628144951,
"is_subscribe": false
},
{
"id": 4,
"listen_id": 3,
"user_id": 86578,
"author_id": 30358,
"novel_id": 20916,
"volume_id": 2,
"title": "追仙004 初回太白宫(上)",
"description": "",
"duration": 0,
"is_pay": 0,
"show_status": 1,
"price": 0,
"pre_episode_id": 3,
"next_episode_id": 5,
"episode_post_num": 0,
"sort": 0,
"create_time": 1628144951,
"update_time": 1628144951,
"is_subscribe": false
},
{
"id": 5,
"listen_id": 3,
"user_id": 86578,
"author_id": 30358,
"novel_id": 20916,
"volume_id": 2,
"title": "追仙005 初回太白宫(下)",
"description": "",
"duration": 0,
"is_pay": 0,
"show_status": 1,
"price": 0,
"pre_episode_id": 4,
"next_episode_id": 0,
"episode_post_num": 0,
"sort": 0,
"create_time": 1628144951,
"update_time": 1628144951,
"is_subscribe": false
}
]
}
],
"episode_num": 6,
"is_notrace": true
}
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>