|
|
@@ -242,7 +242,7 @@ public class AuthServiceImpl implements AuthService {
|
|
|
throw new CommonException(AuthExceptionEnum.ACCOUNT_ERROR.getValue());
|
|
|
}
|
|
|
//校验用户的教育身份在所处端是否有权限登录
|
|
|
- if(saBaseLoginUser.getEduIdentity().equals(authAccountPasswordLoginParam.getEduIdentity()))
|
|
|
+ if(!saBaseLoginUser.getEduIdentity().equals(authAccountPasswordLoginParam.getEduIdentity()))
|
|
|
{
|
|
|
throw new CommonException(AuthExceptionEnum.EDU_IDENTITY_ERROR.getValue());
|
|
|
}
|
|
|
@@ -290,7 +290,7 @@ public class AuthServiceImpl implements AuthService {
|
|
|
throw new CommonException(AuthExceptionEnum.ACCOUNT_ERROR.getValue());
|
|
|
}
|
|
|
//校验用户的教育身份在所处端是否有权限登录
|
|
|
- if(saBaseLoginUser.getEduIdentity().equals(authPhoneValidCodeLoginParam.getEduIdentity()))
|
|
|
+ if(!saBaseLoginUser.getEduIdentity().equals(authPhoneValidCodeLoginParam.getEduIdentity()))
|
|
|
{
|
|
|
throw new CommonException(AuthExceptionEnum.EDU_IDENTITY_ERROR.getValue());
|
|
|
}
|