列出所有用户
GET
/api/admin/user/list最后修改时间: 7 个月前
责任人: 未设置
列出所有用户的信息
请求参数
Header 参数
Authorization
string
必需
示例值:
{{alist_token}}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
状态码
message
string
信息
data
object
必需
content
array [object {8}]
必需
total
integer
总数
示例
{
"code": 200,
"message": "success",
"data": {
"content": [
{
"id": 1,
"username": "admin",
"password": "",
"base_path": "/",
"role": 2,
"disabled": false,
"permission": 0,
"sso_id": ""
},
{
"id": 2,
"username": "guest",
"password": "",
"base_path": "/",
"role": 1,
"disabled": true,
"permission": 0,
"sso_id": ""
},
{
"id": 3,
"username": "N",
"password": "",
"base_path": "/",
"role": 0,
"disabled": false,
"permission": 256,
"sso_id": ""
}
],
"total": 3
}
}
最后修改时间: 7 个月前