Helius
2020-10-15 26a834971f472fca5b45c8b44803abe43e69f3dd
src/main/java/com/xcong/excoin/configurations/security/TokenFilter.java
@@ -50,7 +50,6 @@
        HttpServletResponse response = (HttpServletResponse) servletResponse;
        String token = resolveToken(request);
        log.info("----->{}", token);
        if (!AppContants.TIME_OUT.equals(token)) {
            if (StrUtil.isNotBlank(token)) {
                String redisKey = "";
@@ -117,7 +116,7 @@
        boolean isDebug = applicationProperties.isDebug();
        if (!isDebug) {
            long currentTime = System.currentTimeMillis();
            return currentTime - time <= 10000;
            return currentTime - time <= 30000;
        }
        return true;
    }