From f9d81e4f0a6853e9d1a14d82a63072dc35c08cb4 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期日, 27 四月 2025 09:32:57 +0800
Subject: [PATCH] 大屏修改
---
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java | 21 ++++++---------------
1 files changed, 6 insertions(+), 15 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 054fe84..e951ee9 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,12 @@
/**
* 缓存有效期,默认720(分钟)
*/
- public final static long EXPIRATION = 720;
+ public final static long EXPIRATION = 43200;
+
+ /**
+ * 师傅端登录缓存 一个月
+ */
+ public final static long EXPIRE_TIME_WORKER = 43200;
/**
* 缓存刷新时间,默认120(分钟)
@@ -48,22 +53,8 @@
public static final String CAPTCHA_CODE_KEY = "captcha_codes:";
/**
- * 参数管理 cache key
- */
- public static final String SYS_CONFIG_KEY = "sys_config:";
-
- /**
- * 字典管理 cache key
- */
- public static final String SYS_DICT_KEY = "sys_dict:";
-
- /**
* 登录账户密码错误次数 redis key
*/
public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";
- /**
- * 登录IP黑名单 cache key
- */
- public static final String SYS_LOGIN_BLACKIPLIST = SYS_CONFIG_KEY + "sys.login.blackIPList";
}
--
Gitblit v1.7.1