## 我的信息
~~~[api:auth]
get:/User/index
<<<
success
返回示例
{
"code": 0,
"msg": "获取成功",
"data": {
"id": 10003,
"name": "java",
"gender": 1,
"age": 0,
"contact": "",
"email": "",
"company": "",
"education": "",
"phone": "15770808503",
"city_id": "6831",
"status": 1,
"update_time": "2021-07-31 16:57:16",
"create_time": "2021-07-31 15:13:43",
"city": {
"id": 6831,
"city_id": 6219,
"name": "丹东市",
"province": {
"id": 6219,
"city_id": 0,
"name": "辽宁省"
}
}
}
}
~~~
## 字段列表
| 字段 | 说明 |
| --- | --- |
| id | 用户ID |
| name | 用户姓名 |
| gender | 性别;1=男,2=女 |
| age | 年龄 |
| contact | 联系方式 |
| company | 所在单位 |
| education | 学历 |
| phone | 手机号 |
| city_id | 城市关联id |
| status | 状态 |
| update_time | 更新时间 |
| create_time | 创建时间 |