- v1
- auth
- route
- system-manage
- miniapp
查看用户
GET
/api/v1/system-manage/users/{user_id}
v1系统管理用户管理
请求参数
Path 参数
user_id
integer
必需
Header 参数
Authorization
string
可选
默认值:
Bearer {{token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/system-manage/users/' \
--header 'Authorization: Bearer {{token}}'
返回响应
🟢200成功
application/json
Body
code
string
必需
msg
string
必需
data
object
必需
userPhone
null
必需
status
string
必需
userName
string
必需
nickName
string
必需
lastLogin
null
必需
createTime
string
必需
updateTime
string
必需
userGender
string
必需
userEmail
string
必需
id
integer
必需
示例
{
"code": "0000",
"msg": "OK",
"data": {
"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
}
}
🟠422Validation Error
修改于 2024-05-17 05:46:11