论坛分类列表
<h5>简要描述</h5>
<ul>
<li>论坛分类列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/author/api/thread/category/list</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </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>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"data": [
{
"id": 1,
"name": "创作交流",
"description": "作家创作交流",
"icon": "",
"sort": 0,
"property": 0,
"thread_count": 36,
"ip": "",
"created_at": "2020-11-24 13:43:50",
"updated_at": "2020-12-23 09:33:46"
},
{
"id": 2,
"name": "江湖茶馆",
"description": "业界风云变幻,网文江湖逸闻",
"icon": "",
"sort": 0,
"property": 0,
"thread_count": 44,
"ip": "",
"created_at": "2020-11-24 13:54:57",
"updated_at": "2020-12-22 13:50:03"
},
{
"id": 3,
"name": "风花雪月",
"description": "女频专属交流区",
"icon": "",
"sort": 0,
"property": 0,
"thread_count": 37,
"ip": "",
"created_at": "2020-11-24 13:55:30",
"updated_at": "2020-12-22 13:07:35"
}
],
"message": ""
}</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;">id</td>
<td style="text-align: left;">int</td>
<td>分类id</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">int</td>
<td>名称</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>