This commit is contained in:
parent
e26a9e7735
commit
a8b67d750b
|
|
@ -135,9 +135,6 @@ type MiniLoginResponse struct {
|
||||||
|
|
||||||
// MiniUserInfoResponse 小程序用户信息响应
|
// MiniUserInfoResponse 小程序用户信息响应
|
||||||
type MiniUserInfoResponse struct {
|
type MiniUserInfoResponse struct {
|
||||||
ID uint `json:"id"` // 用户ID
|
|
||||||
OpenID string `json:"openid"` // 用户openid
|
|
||||||
UnionID *string `json:"unionid"` // 用户unionid
|
|
||||||
NickName *string `json:"nickName"` // 用户昵称
|
NickName *string `json:"nickName"` // 用户昵称
|
||||||
Avatar *string `json:"avatar"` // 用户头像
|
Avatar *string `json:"avatar"` // 用户头像
|
||||||
Phone *string `json:"phone"` // 用户手机号
|
Phone *string `json:"phone"` // 用户手机号
|
||||||
|
|
@ -145,8 +142,6 @@ type MiniUserInfoResponse struct {
|
||||||
City *string `json:"city"` // 城市
|
City *string `json:"city"` // 城市
|
||||||
Province *string `json:"province"` // 省份
|
Province *string `json:"province"` // 省份
|
||||||
Country *string `json:"country"` // 国家
|
Country *string `json:"country"` // 国家
|
||||||
CreateTime string `json:"createTime"` // 创建时间
|
|
||||||
UpdateTime string `json:"updateTime"` // 更新时间
|
|
||||||
NeedPhoneAuth bool `json:"needPhoneAuth"` // 是否需要授权手机号
|
NeedPhoneAuth bool `json:"needPhoneAuth"` // 是否需要授权手机号
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue