文档
测试

个人信息

GET
http://visitor.daoben.tech/api/user/index

请求头

参数名
类型
描述
必填
token
string
用户1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:
必填
time
string
示例:1605607058
必填
data
object
数据字典
必填
userinfo
object
数据字典
必填
id
int
示例:1
必填
username
string
示例:admin
必填
nickname
string
示例:admin
必填
mobile
string
示例:13888888888
必填
avatar
string
示例:data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaGVpZ2h0PSIxMDAiIHdpZHRoPSIxMDAiPjxyZWN0IGZpbGw9InJnYigxNjAsMTkwLDIyOSkiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48L3JlY3Q+PHRleHQgeD0iNTAiIHk9IjUwIiBmb250LXNpemU9IjUwIiB0ZXh0LWNvcHk9ImZhc3QiIGZpbGw9IiNmZmZmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIHRleHQtcmlnaHRzPSJhZG1pbiIgYWxpZ25tZW50LWJhc2V...
必填
gender
int
示例:0
必填
birthday
string
示例:2017-04-15
必填
bio
string
示例:
必填
score
int
示例:0
必填
address
string
示例:
必填
id_number
string
示例:
必填
background_image
string
示例:
必填
token
string
示例:d6d4c00e-0583-41b7-8248-e03ba6a30252
必填
user_id
int
示例:1
必填
createtime
int
示例:1605233465
必填
expiretime
int
示例:1607825465
必填
expires_in
int
示例:2218407
必填
friend_count
int
好友数
必填
follow_count
int
关注数
必填
fans_count
int
粉丝数
必填
group_count
int
群组数
必填
card
用户身份证认证信息(如果没有则是null)
必填
prevtime
必填
rent_order_unread_count
int
技能订单未读数
必填
goods_order_unread_count
int
商品订单未读数
必填

说明 / 示例

## 用户全部字段信息 ![image.png](https://cos.easydoc.net/61399836/files/khn4yedo.png) ## 用户身份证认证信息 ![image.png](https://cos.easydoc.net/61399836/files/ki86dnxq.png)