1
This commit is contained in:
@@ -33,3 +33,16 @@ type WxLoginReq struct {
|
||||
Phone string `json:"phone" form:"phone"` // 微信和电话登录使用
|
||||
Password string `json:"password" form:"password"` // 密码登录
|
||||
}
|
||||
|
||||
// 微信小程序解密后 用户手机号结构体
|
||||
type UserPhone struct {
|
||||
PhoneNumber string `json:"phoneNumber,omitempty"`
|
||||
PurePhoneNumber string `json:"purePhoneNumber,omitempty"`
|
||||
CountryCode string `json:"countryCode,omitempty"`
|
||||
Watermark *watermarkInfo `json:"watermark,omitempty"`
|
||||
}
|
||||
|
||||
type watermarkInfo struct {
|
||||
Appid string `json:"appid,omitempty"`
|
||||
Timestamp int `json:"timestamp,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user