src/main/java/com/lf/server/interceptor/AuthInterceptor.java
@@ -23,7 +23,7 @@ */ @Configuration public class AuthInterceptor implements HandlerInterceptor { private SysService sysService; private final SysService sysService; private static final Log log = LogFactory.getLog(AuthInterceptor.class); @@ -155,7 +155,7 @@ private boolean checkWhiteList(String ip, HttpServletRequest request) { List<String> whiteList = sysService.blacklistService.selectIpList(2); if (whiteList == null || whiteList.isEmpty()) { return true; return false; } return whiteList.contains(ip);