查看用户列表
GET
/api/v1/system-manage/users请求参数
Query 参数
current
integer
页码
size
integer
每页数量
userName
string
用户名
userGender
string
用户性别
nickName
string
用户昵称
userPhone
string
用户手机
userEmail
string
用户邮箱
status
string
用户状态
示例代码
返回响应
成功(200)
Validation Error(422)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
msg
string
必需
data
object
必需
records
array [object {11}]
必需
total
integer
必需
current
integer
必需
size
integer
必需
示例
{
"code": "0000",
"msg": "OK",
"data": {
"records": [
{
"userPhone": null,
"status": "1",
"userName": "Soybean",
"nickName": "Soybean",
"lastLogin": null,
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"userGender": "3",
"userEmail": "admin@admin.com",
"id": 1,
"userRoles": [
"R_SUPER"
]
},
{
"userPhone": null,
"status": "1",
"userName": "Super",
"nickName": "Super",
"lastLogin": null,
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"userGender": "3",
"userEmail": "admin1@admin.com",
"id": 2,
"userRoles": [
"R_SUPER"
]
},
{
"userPhone": null,
"status": "1",
"userName": "Admin",
"nickName": "Admin",
"lastLogin": null,
"createTime": "2024-05-17 16:11:03",
"updateTime": "2024-05-17 16:11:03",
"userGender": "3",
"userEmail": "admin2@admin.com",
"id": 3,
"userRoles": [
"R_ADMIN"
]
},
{
"userPhone": null,
"status": "1",
"userName": "User",
"nickName": "User",
"lastLogin": null,
"createTime": "2024-05-17 16:11:03",
"updateTime": "2024-05-17 16:11:03",
"userGender": "3",
"userEmail": "user@user.com",
"id": 4,
"userRoles": [
"R_USER"
]
}
],
"total": 4,
"current": 1,
"size": 10
}
}
最后修改时间: 6 个月前