Helius
2020-10-14 c7831a73602ada1b82ffad93aa7af14f7e3cafc0
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;
    }