hsun 1 жил өмнө
parent
commit
1717394e99

+ 6 - 4
controllers/user_login.go

@@ -661,12 +661,14 @@ func (this *UserLoginController) ForgetAccountGet() {
 	}
 
 	type ForgetAccountCheckResp struct {
-		Mobile string `description:"手机号"`
-		Email  string `description:"邮箱"`
+		Mobile      string `description:"手机号"`
+		Email       string `description:"邮箱"`
+		TelAreaCode string `description:"手机区号"`
 	}
 	resp := ForgetAccountCheckResp{
-		Mobile: sysUser.Mobile,
-		Email:  sysUser.Email,
+		Mobile:      sysUser.Mobile,
+		Email:       sysUser.Email,
+		TelAreaCode: sysUser.TelAreaCode,
 	}
 
 	br.Data = resp