From ac9e3f2ca4d2255739f8b60165f5b51b31ccd3e6 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期五, 13 一月 2023 23:04:08 +0800 Subject: [PATCH] update 适配 springdoc 新版本配置方式 --- ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/RedissonProperties.java | 37 ++----------------------------------- 1 files changed, 2 insertions(+), 35 deletions(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/RedissonProperties.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/RedissonProperties.java index eab746c..b0bf285 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/RedissonProperties.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/RedissonProperties.java @@ -7,8 +7,6 @@ import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; -import java.util.List; - /** * Redisson 閰嶇疆灞炴�� * @@ -18,12 +16,12 @@ @Component @ConfigurationProperties(prefix = "redisson") public class RedissonProperties { - + /** * redis缂撳瓨key鍓嶇紑 */ private String keyPrefix; - + /** * 绾跨▼姹犳暟閲�,榛樿鍊� = 褰撳墠澶勭悊鏍告暟閲� * 2 */ @@ -43,11 +41,6 @@ * 闆嗙兢鏈嶅姟閰嶇疆 */ private ClusterServersConfig clusterServersConfig; - - /** - * 缂撳瓨缁� - */ - private List<CacheGroup> cacheGroup; @Data @NoArgsConstructor @@ -138,32 +131,6 @@ * 璁㈤槄妯″紡 */ private SubscriptionMode subscriptionMode; - - } - - @Data - @NoArgsConstructor - public static class CacheGroup { - - /** - * 缁刬d - */ - private String groupId; - - /** - * 缁勮繃鏈熸椂闂� - */ - private long ttl; - - /** - * 缁勬渶澶х┖闂叉椂闂� - */ - private long maxIdleTime; - - /** - * 缁勬渶澶ч暱搴� - */ - private int maxSize; } -- Gitblit v1.9.3