文档
测试

获取用户信息

GET
{{host}}/admin/mh.Index/get_user_info

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJqd3RfeWgiLCJleHAiOjE2NDMzNDE1NjcsInN1YiI6IllIIiwiYXVkIjoiZXZlcnkiLCJuYmYiOjE2NDI3MzY3NjcsImlhdCI6MTY0MjczNjc2NywianRpIjoxMDAwMSwidWlkIjoyNH0.XWUHa0JYr0Sel0VZ1tAec4ixuQkEs6FT_flNsXdnENU
必填

请求参数

参数名
类型
描述
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:获取成功
必填
data
object
数据字典
必填
userinfo
object
数据字典
必填
id
int
示例:24
必填
realname
object
示例:null
必填
nickname
string
示例:流浪
必填
gender
int
示例:3
必填
avatar
string
示例:logo
必填
mobile
object
示例:null
必填
email
object
示例:null
必填
birthday
int
示例:0
必填
dept_id
int
示例:0
必填
level_id
int
示例:0
必填
position_id
int
示例:0
必填
province_code
object
示例:null
必填
city_code
object
示例:null
必填
district_code
string
示例:0
必填
address
object
示例:null
必填
city_name
object
示例:null
必填
username
string
示例:18773143508
必填
salt
object
示例:null
必填
intro
object
示例:null
必填
status
int
示例:1
必填
note
object
示例:null
必填
sort
int
示例:125
必填
login_num
int
示例:0
必填
login_ip
object
示例:null
必填
login_time
int
示例:0
必填
create_user
int
示例:1
必填
create_time
int
示例:1642577739
必填
update_user
int
示例:0
必填
update_time
int
示例:0
必填
money
string
示例:1
必填
member_id
int
示例:26
必填
inviter_code
string
示例:
必填
type
int
示例:2
必填
success
boolean
示例:true
必填
code
int
示例:0
必填