~~~[api:needAuth]
get:/index/User/index
<<<
success
{
"code": 0,
"msg": "获取成功",
"data": {
"id": 2,
"agent_id": 1,
"name": "王大锤",
"idcard": "440804197711161330",
"phone": "17707514007",
"area": "广东省广州市番禺区",
"address": "星海公园",
"wechat": "",
"qq": "",
"status": 1,
"certification": 0,
"certification_time": "2021-03-04 11:26:09",
"update_time": "2021-03-04 11:26:09",
"login_token": "2@19a82b3eb88c653cd5f306bbc50dec48"
},
"agent": {
"id": 1,
"name": "张代理"
}
}
~~~
### 字段名
| 场景名 | 备注 |
| --- | --- |
| data.id | 用户ID |
| data.agent_id | 代理商ID |
| data.name | 姓名 |
| data.phone | 手机号 |
| data.area | 所在区域 |
| data.address | 所在地址 |
| data.wechat | 微信号 |
| data.qq | QQ号 |
| data.login_token | 登录标识 |
| data.certification | 认证状态 0未认证 1已认证 2待确认 3未通过 |
| agent.id | 代理商ID |
| agent.name | 代理商名称 |