hjl
2024-06-20 eed4e2af4645f1dfc3abc047a86e90ad8fe149b3
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java
@@ -2,15 +2,14 @@
/**
 * 缓存常量信息
 *
 *
 * @author ruoyi
 */
public class CacheConstants
{
public class CacheConstants {
    /**
     * 缓存有效期,默认720(分钟)
     * 缓存有效期,默认720(分钟)一周
     */
    public final static long EXPIRATION = 720;
    public final static long EXPIRATION = 10080;
    /**
     * 缓存刷新时间,默认120(分钟)
@@ -33,6 +32,11 @@
    public final static String LOGIN_TOKEN_KEY = "login_tokens:";
    /**
     * 学习端权限缓存前缀
     */
    public final static String LOGIN_TOKEN_KEY_STUDY = "login_tokens_study:";
    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";