更新 template/common/src/main/java/{{.packagePath}}/common/redis/RedisPoolConfig.java
This commit is contained in:
@@ -17,7 +17,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;
|
||||
|
||||
Reference in New Issue
Block a user