## 获取用户信息
~~~[api]
get:index/User/index
*user_token=1%4016c96d9a163cd878764d2122ef8cf42e#登录之后的密钥
<<<
success
{
"code": 1,
"msg": "获取成功",
"data": [
{
"id": 1,
"name": "大娃",
"avatar": "/uploads/8c/5be9dbf651fc075df7270b9f102d4a.jpg",
"email": "123@163.com",
"district_id": 1,
"property_id": 1,
"industry_id": 1,
"professional_id": 1,
"sit": "康家沟山脚",
"phone": "15770808503",
"telephone": "135464",
"fax": "21212156",
"technical_titles": "康家沟攻城狮",
"qualification": "康家沟码农先生",
"unit": "康家沟村委会",
"term_id": 1,
"role": 1,
"state": 2,
"is_email": 0,
"is_phone": 0,
"education_id": 1,
"almamater": "康家沟家里蹲大学",
"firm_name": null,
"linkman": null,
"four_phone": null,
"linkman_phone": null,
"corporate": null,
"Institution_code": null,
"commerce_id": null,
"industry": {
"id": 1,
"title": "计算机/互联网/通信/电子"
},
"property": {
"id": 1,
"title": "单位属性1"
},
"professional": {
"id": 1,
"title": "互联网商务"
},
"district": {
"id": 1,
"name": "浈江区",
"city_id": 1,
"city": [
{
"id": 1,
"name": "韶关",
"province_id": 1,
"province": [
{
"id": 1,
"name": "广东"
}
]
}
]
}
}
]
}
~~~
### 返回字段说明
| 字段 | 说明 |
| --- | --- |
| id | 用户的ID |
| name | 用户名 |
| avatar | 用户头像地址 |
| email | 用户邮箱 |
| district_id | 区(县)的id |
| property_id | 单位属性(个人/专家)/企业性质(企业)id |
| industry_id | 所在行业id |
| professional_id | 所属专业(个人/专家)/主营产品(企业)id |
| sit | 详细地址 |
| phone | 用户的手机 |
| telephone | 用户电话 |
| fax | 用户传真 |
| technical_titles | 技术职称(个人/专家) |
| qualification | 职业资格(个人/专家) |
| unit | 工作单位(个人/专家) |
| term_id | 专业年限(个人/专家)id |
| role | 角色 1=个人 0=专家 2=企业 |
| state | 状态 0=未认证 1=待审核 2=已审核 3=审核失败 |
| is_email | 是否绑定邮箱 1=已绑定 0=未绑定 |
| is_phone | 是否绑定手机 1=已绑定 0=未绑定 |
| education_id | 最高学历(个人/专家)id |
| almamater | 毕业院校(个人/专家) |
| firm_name | 企业名字 |
| linkman | 联系人(企业) |
| four_phone | 400电话(企业) |
| linkman_phone| 联系人手机(企业) |
| corporate | 公司法人(企业) |
| Institution_code | 组织机构代码(企业) |
| commerce_id | 工商注册号(企业) |