This commit is contained in:
邹宗楠
2022-08-12 11:22:22 +08:00
parent a81ffe8ded
commit 6fa1bc127d
3 changed files with 83 additions and 20 deletions

View File

@@ -21,7 +21,11 @@ const (
// WeChatPhoneNumberParam 微信登陆
type WeChatPhoneNumberParam struct {
Code string `json:"code" form:"code" binding:"required"` //code
EncryptedData string `json:"encrypted_data" form:"encrypted_data" binding:"required"` // 加密信息
IV string `json:"iv" form:"iv" binding:"required"` // 加密算法初始量
NickName string `json:"nick_name" form:"nick_name" binding:"required"` // 昵称
HeadUrl string `json:"head_url" form:"head_url" binding:"required"` //头像图片地址
Code string `json:"code" form:"code" binding:"required"` //code
}
type WxLoginReq struct {