ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java
@@ -8,12 +8,17 @@ public class CacheConstants { /** * oauth 缓存前缀 * 缓存有效期,默认720(分钟) */ public static final String OAUTH_ACCESS = "oauth:access:"; public final static long EXPIRATION = 720; /** * oauth 客户端信息 * 缓存刷新时间,默认120(分钟) */ public static final String CLIENT_DETAILS_KEY = "oauth:client:details"; public final static long REFRESH_TIME = 120; /** * 权限缓存前缀 */ public final static String LOGIN_TOKEN_KEY = "login_tokens:"; }