管理员管理用户分页显示
<h5>简要描述</h5>
<ul>
<li>管理员管理用户分页显示接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:8110/api/admin/user/listPage/{pageInfo}/{pageSize}</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;">pageInfo</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">Long</td>
<td>当前页</td>
</tr>
<tr>
<td style="text-align: left;">password</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">Long</td>
<td>每页显示的数量</td>
</tr>
<tr>
<td style="text-align: left;">PageUserVO</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">分页对象</td>
</tr>
</tbody>
</table>
<p>分页对象包含{</p>
<pre><code>@ApiModelProperty("学历")
private String education;
@ApiModelProperty("专业")
private String specialty;
@ApiModelProperty("学校")
private String school;</code></pre>
<p>}
通过分页对象也可以进行分页(非必选)</p>
<h5>返回示例</h5>
<pre><code>{
"code": 0,
"message": "成功",
"data": {
"pageList": {
"records": [
{
"id": 18,
"mobile": "15829797204",
"password": "c6f057b86584942e415435ffb1fa93d4",
"nickName": "你妈的",
"name": "豪哥",
"education": "软件工程",
"specialty": null,
"school": "",
"email": null,
"headImg": "https://crowdprojecttome.oss-cn-shenzhen.aliyuncs.com/20210804/0295468de84543ba83311116e8a2fe5e.jpg",
"integral": 0,
"status": 0,
"createTime": "2021-10-07 19:04:42",
"updateTime": "2021-10-07 19:20:08",
"deleted": false
},
{
"id": 19,
"mobile": "45252",
"password": "25425",
"nickName": "252",
"name": "252",
"education": "252",
"specialty": null,
"school": null,
"email": null,
"headImg": null,
"integral": 0,
"status": 1,
"createTime": "2021-10-10 15:51:49",
"updateTime": "2021-10-10 15:51:49",
"deleted": false
}
],
"total": 4,
"size": 2,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"countId": null,
"maxLimit": null,
"searchCount": true,
"pages": 2
}
}
}</code></pre>
<h5>返回参数说明</h5>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>