听书分类列表
<h5>简要描述</h5>
<ul>
<li>听书分类列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/api/getListenTypeList</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;">type_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>默认一级分类 男生 = 85, 女生 = 10 下一级分类传获取到的type_id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"message": "ok",
"data": [
{
"type_id": 1,
"type_name": "玄幻",
"type_ico": "/listen/category/1.png"
},
{
"type_id": 2,
"type_name": "仙侠",
"type_ico": "/listen/category/2.png"
},
{
"type_id": 3,
"type_name": "都市",
"type_ico": "/listen/category/3.png"
},
{
"type_id": 4,
"type_name": "历史",
"type_ico": "/listen/category/4.png"
},
{
"type_id": 5,
"type_name": "科幻",
"type_ico": "/listen/category/5.png"
},
{
"type_id": 6,
"type_name": "奇幻",
"type_ico": "/listen/category/6.png"
},
{
"type_id": 7,
"type_name": "军事",
"type_ico": "/listen/category/7.png"
},
{
"type_id": 9,
"type_name": "轻小说",
"type_ico": "/listen/category/9.png"
},
{
"type_id": 11,
"type_name": "悬疑",
"type_ico": "/listen/category/11.png"
},
{
"type_id": 12,
"type_name": "体育",
"type_ico": "/listen/category/12.png"
},
{
"type_id": 13,
"type_name": "游戏",
"type_ico": "/listen/category/13.png"
},
{
"type_id": 14,
"type_name": "武侠",
"type_ico": "/listen/category/14.png"
}
]
}</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>