|
@@ -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
|