作者 yangfu

修改: 修改密码错误提示优化

... ... @@ -42,7 +42,7 @@ type JWTUserInfo struct {
/*SmsCode*/
type SmsCodeRequest struct {
Phone string `json:"phone" valid:"Required;Mobile"`
Phone string `json:"phone" valid:"Required"`
Content string `json:"-"`
SendType string `json:"send_type"` //sms_login_code sms_change_mobile
... ...
... ... @@ -50,7 +50,7 @@ type CheckSmsCodeResponse struct {
/*修改手机号*/
type ChangePhoneRequest struct {
Phone string `json:"phone" valid:"Mobile"`
Phone string `json:"phone" valid:"Required"`
Captcha string `json:"captcha" valid:"Required"`
OldPhone string `json:"oldPhone" valid:"Required"`
... ...