xiaoyong931011
2020-07-10 015a80a03a520b872cdeee363a7d27291906e48f
src/main/java/com/xcong/excoin/configurations/security/TokenFilter.java
@@ -60,9 +60,11 @@
                SecurityContextHolder.getContext().setAuthentication(authentication);
                redisUtils.expire(redisKey, 300000);
            } else {
                log.info("token无法查询:{}", token);
                SecurityContextHolder.clearContext();
            }
        } else {
            log.info("token为空:{}", request.getRequestURI());
            SecurityContextHolder.clearContext();
        }