获取用户信息
GET
/api/mp/user/userInfo
请求头
参数名
类型
描述
必填
token
token
必填
响应参数
参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
id
int
用户id 示例:107
必填
shopId
int
店铺id
必填
openId
string
用户openid
必填
nickName
string
微信昵称
必填
gender
int
性别 0女 1男
必填
city
string
城市
必填
province
string
省份
必填
country
string
国家
必填
avatarUrl
string
头像地址
必填
unionId
string
unionId
必填
token
string
token
必填
money
string
钱包
必填
level
int
用户类型(0 普通用户 1 站长)
必填
creatTime
string
创建时间
必填
updateTime
string
更新时间
必填
lat
string
经度
必填
lng
string
纬度
必填
address
string
地址
必填
phone
string
手机号
必填