diff --git a/ruoyi-common/pom.xml b/ruoyi-common/pom.xml
index a3ce9d7c..37282f44 100644
--- a/ruoyi-common/pom.xml
+++ b/ruoyi-common/pom.xml
@@ -40,6 +40,11 @@
sa-token-jwt
+
+ org.springframework.security
+ spring-security-crypto
+
+
org.springframework.boot
diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/RedisUtils.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/RedisUtils.java
index 04db787b..7f4d2cac 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/RedisUtils.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/RedisUtils.java
@@ -114,29 +114,6 @@ public class RedisUtils {
}
}
- /**
- * 缓存基本的对象,保留当前对象 TTL 有效期
- *
- * @param key 缓存的键值
- * @param value 缓存的值
- * @param isSaveTtl 是否保留TTL有效期(例如: set之前ttl剩余90 set之后还是为90)
- * @since Redis 6.X 以上使用 setAndKeepTTL 兼容 5.X 方案
- */
- public static void setCacheObject(final String key, final T value, final boolean isSaveTtl) {
- RBucket