管理员管理用户分页显示

简要描述
  • 管理员管理用户分页显示接口
请求URL
  • http://localhost:8110/api/admin/user/listPage/{pageInfo}/{pageSize}
请求方式
  • GET
参数
参数名 必选 类型 说明
pageInfo Long 当前页
password Long 每页显示的数量
PageUserVO 分页对象

分页对象包含{

@ApiModelProperty("学历")
private String education;

@ApiModelProperty("专业")
private String specialty;

@ApiModelProperty("学校")
private String school;

}
通过分页对象也可以进行分页(非必选)

返回示例
{
    "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
        }
    }
}
返回参数说明
备注
  • 更多返回错误代码请看首页的错误代码描述