Browse Source

工作人员登录,没有部门列表,缓存[],而不是null

dev
wangxianzhang 3 years ago
parent
commit
632846bbfa
  1. 2
      epmet-auth/src/main/java/com/epmet/service/impl/ThirdLoginServiceImpl.java

2
epmet-auth/src/main/java/com/epmet/service/impl/ThirdLoginServiceImpl.java

@ -288,7 +288,7 @@ public class ThirdLoginServiceImpl implements ThirdLoginService, ResultDataResol
String errorStackTrace = ExceptionUtils.getErrorStackTrace(e); String errorStackTrace = ExceptionUtils.getErrorStackTrace(e);
logger.error("登录:查询部门列表异常:{}", errorStackTrace); logger.error("登录:查询部门列表异常:{}", errorStackTrace);
} }
return null; return new HashSet<>();
} }
/** /**

Loading…
Cancel
Save