From c23f48c5ec15476299edadd91fa18f908d710a4f Mon Sep 17 00:00:00 2001 From: rentaiming <806181062@qq.com> Date: 星期四, 18 七月 2024 08:58:42 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) 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 9987afb..7715977 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,7 +10,7 @@ /** * 缓存有效期,默认720(分钟) */ - public final static long EXPIRATION = 720; + public final static long EXPIRATION = 720 * 10; /** * 缓存刷新时间,默认120(分钟) @@ -31,6 +31,10 @@ * 权限缓存前缀 */ public final static String LOGIN_TOKEN_KEY = "login_tokens:"; + /** + * 用户token key + */ + public final static String USER_TOKEN_KEY = "user_token_key:"; /** * 验证码 redis key -- Gitblit v1.7.1