From f8c38579281a6d5c19f9fe8c29ecf7b8d17ec6d5 Mon Sep 17 00:00:00 2001 From: ycl Date: Tue, 23 Dec 2025 11:59:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20template/common/src/main/j?= =?UTF-8?q?ava/{{.packagePath}}/common/redis/RedisPoolConfig.java?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/{{.packagePath}}/common/redis/RedisPoolConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/common/src/main/java/{{.packagePath}}/common/redis/RedisPoolConfig.java b/template/common/src/main/java/{{.packagePath}}/common/redis/RedisPoolConfig.java index 85ce928..ab8b893 100644 --- a/template/common/src/main/java/{{.packagePath}}/common/redis/RedisPoolConfig.java +++ b/template/common/src/main/java/{{.packagePath}}/common/redis/RedisPoolConfig.java @@ -14,7 +14,7 @@ import org.springframework.beans.factory.annotation.Value; @Configuration @EnableConfigurationProperties({RedisPoolProperties.class}) -@ConditionalOnProperty(name = "redis-config.pool.hostAndPort", havingValue = "true") +@ConditionalOnProperty(name = "redis-config.pool.hostAndPort") public class RedisPoolConfig { @Autowired private RedisPoolProperties redisPoolProperties;