文章列表
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户注册接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/article/getList/{articleType}/{page}/{pageSize}</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get </li>
</ul>
<h5>参数</h5>
<p>articleType 文章类型 1 热点 2 政策</p>
<h5>返回示例</h5>
<pre><code>{
"status": 1,
"msg": "操作成功",
"code": "SUCCESS",
"result": {
"total": 2,
"list": [
{
"id": 1,
"articleAuth": 1,
"backImg": "http://image.hrwallet.xyz/group1/M00/1D/A3/CjVtAWF3ZbuAY_nhAAEKL3XrS50281.png",
"articleTitle": "这是碳碳",
"articleContent": null,
"mp4Link": null,
"articleFrom": "中国人才网",
"pulishTime": "2022-01-17T03:04:06.000+0000",
"articleMark": null,
"articleType": 1,
"createTime": "2022-01-17T03:04:15.000+0000",
"updateTime": "2022-01-17T03:04:18.000+0000",
"articleAuthName": null,
"totalComment": 4 -- 评论数量
},
{
"id": 2,
"articleAuth": 1,
"backImg": "http://image.hrwallet.xyz/group1/M00/1D/A3/CjVtAWF3ZbuAY_nhAAEKL3XrS50281.png",
"articleTitle": "这是碳碳2",
"articleContent": null,
"mp4Link": null,
"articleFrom": "中国人才网",
"pulishTime": "2022-01-17T03:04:06.000+0000",
"articleMark": null,
"articleType": 1,
"createTime": "2022-01-17T03:04:15.000+0000",
"updateTime": "2022-01-17T03:04:18.000+0000",
"articleAuthName": null,
"totalComment": 0
}
],
"pageNum": 1,
"pageSize": 2,
"size": 2,
"startRow": 1,
"endRow": 2,
"pages": 1,
"prePage": 0,
"nextPage": 0,
"isFirstPage": true,
"isLastPage": true,
"hasPreviousPage": false,
"hasNextPage": false,
"navigatePages": 8,
"navigatepageNums": [
1
],
"navigateFirstPage": 1,
"navigateLastPage": 1
}
}</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>