zainali5120
2020-12-12 73323434da5af65661adb4f57b816351b0a54ce1
src/main/java/com/xcong/excoin/configurations/security/TokenFilter.java
@@ -67,7 +67,7 @@
                    SecurityContextHolder.getContext().setAuthentication(authentication);
                    redisUtils.expire(redisKey, 36000);
                } else {
                    log.info("token无法查询:{}", token);
                    //log.info("token无法查询:{}", token);
                    SecurityContextHolder.clearContext();
                }
            } else {
@@ -106,7 +106,7 @@
            }
//            log.info("bearerToken---->{}", bearerToken);
        } catch (Exception e) {
            log.error("#解析token异常#", e);
            //log.error("#解析token异常#", e);
            return null;
        }
        return null;