根据token查询用户信息
开发中
POST
/openApi/get/iam/oauth/idToken
后端接口/通用接口
请求参数
Body 参数application/json
accessToken
string
必需
idToken
string
必需
示例
{
"accessToken": "f5708759-09cd-4de8-a81a-6728c07bab9a",
"idToken": ""
}
返回响应
🟢200成功
application/json
Body
status
integer
必需
code
integer
必需
result
array [object]
必需
msg
string
必需
示例
{
"result": {
"birthday": "1990-01-02",
"last_login_time": "2021-01-26 14:44:37",
"last_login_enterprise": "APICeShiQiYe",
"created_at": "2020-07-30 08:58:19",
"real_name": "企业管理员",
"reg_type": 1,
"birth_type": 1,
"sign_api": "/api2/user/signin",
"type": "6",
"pageType": "",
"updated_at": "2020-07-30 08:58:24",
"lead_portal": "done",
"ent_type_map": {
"APICeShiQiYe": "6",
"aqiyede492": "6",
"bqiye12719": "6",
"cqiye1b534": "6",
"dqiye39563": "6",
"gongyouyun": "6",
"YeWuYingYongQiYe": "6"
},
"pw_grade": 1,
"login_user_id": "ApiTest",
"theme": "black",
"disabled": "false",
"id": 1,
"last_modified": "2020-12-08 11:34:45",
"email": "",
"fileio_domain": "http://fileio-www172168000081.pinwheel.qycloud.com.cn:39000",
"last_login_enterprise_mobile": "APICeShiQiYe",
"successVerifyCode": false,
"create_time": "2016-08-02 09:33:32",
"static_domain": "http://static-www172168000081.pinwheel.qycloud.com.cn:39000",
"sex": 0,
"reset_pwd": 1,
"avatar": null,
"enterprise_id": "APICeShiQiYe",
"lead_header": "done",
"isNavigation": 0,
"signin_time": 1611798678,
"role_name": "云平台研发部-企业管理员",
"pinyin": "qiyeguanliyuan",
"verify_two": 0,
"user_id": "ApiTest",
"phone": "18252008670",
"is_ad_welcome": "0",
"enterprise_name": "API测试企业",
"lead_new_user": ""
},
"status": 200,
"code": 1000,
"msg": "请求成功"
}
修改于 2023-04-27 01:09:58