This commit is contained in:
gazebo
2019-03-04 17:31:12 +08:00
parent 23a33cee16
commit 3e79e8a99b

View File

@@ -58,6 +58,7 @@ func RegisterUser(user *model.User, mobileVerifyCode string, inAuthInfo *auth2.A
}
} else if dao.IsDuplicateError(err) {
errCode = model.ErrCodeUserAlreadyExist
err = auth2.ErrUserID2AlreadyExist
}
}
if err == nil {