ziwen 1 year ago
parent
commit
6203c34bcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/auth.go

+ 1 - 1
controller/auth.go

@@ -47,7 +47,7 @@ func (a *AuthController) Login(c *gin.Context) {
 		}
 	} else {
 		_, err := emailItem.GetByMobile(req.Account, req.CountryCode)
-		if err != nil  || emailItem.IsDeleted == 1 {
+		if err != nil || emailItem.IsDeleted == 1 {
 			if err == utils.ErrNoRow {
 				resp.Unbound("手机号未绑定", c)
 				return