更新 template/common/src/main/java/{{.packagePath}}/common/redis/RedisPoolConfig.java

This commit is contained in:
ycl
2025-12-23 11:38:18 +08:00
parent dfcf002c00
commit 3e92a11382

View File

@@ -17,7 +17,7 @@ import org.springframework.beans.factory.annotation.Value;
@Configuration @Configuration
@EnableConfigurationProperties({RedisPoolProperties.class}) @EnableConfigurationProperties({RedisPoolProperties.class})
@ConditionalOnProperty(name = "redis-config.pool.hostAndPort", havingValue = "true") @ConditionalOnProperty(name = "redis-config.pool.hostAndPort")
public class RedisPoolConfig { public class RedisPoolConfig {
@Autowired @Autowired
private RedisPoolProperties redisPoolProperties; private RedisPoolProperties redisPoolProperties;