diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java index 94912243..6fb8cc11 100644 --- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java +++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java @@ -10,12 +10,12 @@ public class CacheConstants /** * 缓存有效期,默认720(分钟) */ - public final static long EXPIRATION = 720; + public final static long EXPIRATION = 7200; /** * 缓存刷新时间,默认120(分钟) */ - public final static long REFRESH_TIME = 120; + public final static long REFRESH_TIME = 1200; /** * 密码最大错误次数