列表
用户列表
接口名称:用户列表
请求方式:get
请求示例:/rbac/users
请求参数说明:
元素名称
数据类型
是否非空
元素说明
备注
realname
int
否
张一一
---
status
int
否
默认10
---
username
int
否
zhangyiyi
---
返回信息:
数据格式:JSON
data参数说明:
元素名称
数据类型
是否非空
元素说明
备注
id
string
是
ID
---
username
string
是
账号
---
realname
string
是
用户名
---
string
是
邮箱
---
created_at
string
是
创建时间
---
成功示例:
{
"code": 200,
"message": "OK",
"data": [
{
"id": "4",
"username": "zhang",
"realname": "张",
"email": "524410@qq.com",
"role": "10",
"status": "10",
"created_at": "1462958662",
"store_id": "4,10,12,19"
},
{
"id": "3242",
"username": "zhao",
"realname": "赵",
"email": "",
"role": "10",
"status": "10",
"created_at": "0",
"store_id": null
}
]
}
失败示例:
{
"code": 400,
"message": "操作失败",
}
Last updated
Was this helpful?