# 获取用户资料
~~~[api]
post:wechat/api.user/get
*openid=openid#小程序openid
<<<
result
{
"code": 1,
"info": "获取用户资料成功!",
"data": {
"user": {
"id": 1,
"openid": "openid",
"headimg": "headimg",
"nickname": "用户昵称",
"province": "广东",
"city": "广州",
"sex": "男",
"desc": "",
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-27 16:57:11"
}
}
}
~~~