文档
测试

个人资料_返回数据

GET
https://gangwugongcheng.cn/index.php/api/User/info

请求参数

参数名
类型
描述
必填
token
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
1成功 0 失败
必填
msg
string
提示
必填
time
string
请求时间
必填
data
object
数据字典
必填
id
int
用户id
可选
name
string
昵称
必填
invitation_code
string
邀请码
必填
openid
string
openid
可选
phone
int
手机号
必填
portrait_image
string
头像
必填
gender_data
string
性别:1=男,2=女
必填
state_data
string
审核状态:0=未审核,1=已审核
必填
token
string
token
可选
lastname
string
姓名
必填
id_num
string
身份证号
必填
address
string
通讯地址
必填