获取用户信息
将废弃
POST
/openApi/user/open/getUserInfo
后端接口/用户与角色
请求参数
Body 参数application/json
userId
string
必需
entId
string
必需
示例
{
"userId": "string",
"entId": "string"
}
返回响应
🟢200成功
application/json
Body
status
integer
必需
code
integer
必需
msg
string
必需
result
object
必需
userId
string
必需
roleId
string
必需
departmentId
string
必需
entId
string
必需
entName
string
必需
departmentName
string
必需
realName
string
必需
avatar
string
必需
en_name
string
必需
pinyin
string
必需
sex
integer
必需
email
null
必需
phone
null
必需
create_time
string
必需
last_login_time
string
必需
last_login_enterprise
string
必需
last_login_enterprise_mobile
string
必需
birthday
string
必需
login_user_id
string
必需
last_modified
string
必需
verify_two
integer
必需
reset_pwd
integer
必需
theme
string
必需
reg_type
integer
必需
birth_type
integer
必需
pw_grade
integer
必需
lead_new_user
string
必需
lead_header
string
必需
lead_portal
string
必需
roleName
string
必需
topDepartmentName
string
必需
guid
string
必需
示例
{
"status": 200,
"code": 200,
"msg": "",
"result": {
"userId": "apitest",
"roleId": "",
"departmentId": "",
"entId": "APICeShiQiYe",
"entName": "API测试企业",
"departmentName": "performance",
"realName": "企业管理员001",
"avatar": "http://image-Url",
"en_name": "en_apitest",
"pinyin": "qiyeguanliyuan001",
"sex": 0,
"email": null,
"phone": null,
"create_time": "2016-08-02 09:33:32",
"last_login_time": "2020-10-21 10:04:05",
"last_login_enterprise": "APICeShiQiYe",
"last_login_enterprise_mobile": "APICeShiQiYe",
"birthday": "2010-01-01",
"login_user_id": "ApiTest",
"last_modified": "2020-10-16 15:44:57",
"verify_two": 0,
"reset_pwd": 0,
"theme": "purple",
"reg_type": 1,
"birth_type": 0,
"pw_grade": 1,
"lead_new_user": "",
"lead_header": "done",
"lead_portal": "done",
"roleName": "",
"topDepartmentName": ""
},
"guid": "e62be1f1fa0df1db"
}
修改于 2023-07-20 03:49:08