|
@@ -244,7 +244,7 @@ public class AuthServiceImpl implements AuthService {
|
|
|
if(ObjectUtil.isEmpty(saBaseLoginUser)) {
|
|
|
throw new CommonException(AuthExceptionEnum.ACCOUNT_ERROR.getValue());
|
|
|
}
|
|
|
- if (!saBaseLoginUser.getAccountType().equals(authAccountPasswordLoginParam.getAccountType())){
|
|
|
+ if (authAccountPasswordLoginParam.getAccountType()!= 0 && !saBaseLoginUser.getAccountType().equals(authAccountPasswordLoginParam.getAccountType())){
|
|
|
throw new CommonException("账号类型不匹配");
|
|
|
}
|
|
|
if (!saBaseLoginUser.getPassword().equals(passwordHash)) {
|