修改GSO拆分异常校验提示问题

This commit is contained in:
wangchengjun
2022-05-23 20:44:34 +08:00
parent fd5bc08fc0
commit b1575cbb23
2 changed files with 465 additions and 431 deletions
@@ -133,7 +133,8 @@ public class ShiroRealm extends AuthorizingRealm {
try {
loginUser = commonAPI.getUserByName(username);
}catch (SerializationException e){
throw e;
LoginException.loginException(401,"用户不存在!");
return null;
}
if (loginUser == null) {
LoginException.loginException(401,"用户不存在!");