首页专栏版块列表
<h5>简要描述</h5>
<ul>
<li>首页专栏版块列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/api/homeColumnArticleSection</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>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"message": "ok",
"data": [
{
"section_id": 0,
"name": "专栏热文"
},
{
"section_id": 1,
"name": "短篇故事"
},
{
"section_id": 2,
"name": "知识科普"
},
{
"section_id": 3,
"name": "时事热点"
},
{
"section_id": 4,
"name": "写作技巧"
},
{
"section_id": 5,
"name": "衍生创作"
},
{
"section_id": 6,
"name": "情感交流"
}
]
}</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>