Skip to main content

用户列表

用户列表

接口描述
  • 通过该接口获取系统中所有用户列表
请求URL
  • http://host/bbm/v2/adapter/all/user
请求方式
  • ==GET==
header 请求头参数
参数名必选类型说明示例值及参考API
content-typestringapplication/json
Authorizationstring签名描述Bearer + 登录token
请求示例
http://host/bbm/v2/adapter/all/user

请求参数示例

返回参数说明

  • http_status && status_code 为200 为成功
  • 否则均为失败或者异常
字段字段示例字段说明是否必填
id1主键id
system_codee11d134c-1d35-4585-9708-c060d1d88194唯一标识符
usernameadmin登录用户名
nicknameadmin昵称
mobile153910192123手机号
mailqwe@qq.com联系邮箱
role_id1角色id
role_namedba角色名称
role_system_codee11d134c-1d35-4585-9708-c060d1d88194角色标识符
statustrue是否使用(true/false)
created_at1728538786313创建时间(毫秒时间戳)
group_list用户所在组
返回示例
{
"status_code": 200,
"code": "",
"message": "",
"detail": "",
"alert": "",
"to_wiki": "",
"data": [
{
"id": 46724,
"system_code": "ccj",
"username": "ccj",
"nickname": "ccj",
"mobile": "",
"mail": "13953106170@qq.com",
"group_list": [
{
"group_id": 15704, //组id
"group_name": "组-2",//组名称
"group_system_code": "组-2",//组标识符
"role_name": "qfusion", //组内角色名称
"role_id": 918,
"role_system_code": "qfusion"
},
{
"group_id": 15705,
"group_name": "EOS-ICSM-CORE",
"group_system_code": "EOS-ICSM-CORE",
"role_name": "qfusion",
"role_id": 918,
"role_system_code": "qfusion"
}
],
"role_id": 914,
"role_name": "开发",
"role_system_code": "kf",
"status": "true",
"created_at": "1728538786313"
},
{
"id": 46723,
"system_code": "ck",
"username": "ck",
"nickname": "ck",
"mobile": "",
"mail": "",
"group_list": [
{
"group_id": 5,
"group_name": "default",
"group_system_code": "default",
"role_name": "",
"role_id": 0,
"role_system_code": ""
},
{
"group_id": 5347,
"group_name": "ck-project",
"group_system_code": "ck-project",
"role_name": "ck",
"role_id": 638,
"role_system_code": "ck"
}
],
"role_id": 638,
"role_name": "ck",
"role_system_code": "ck",
"status": "true",
"created_at": "1728438413735"
}
]
}