From ec604732b4ffb6484050b4107be25031312b8bda Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Wed, 2 Dec 2020 10:09:50 +0800 Subject: [PATCH] =?UTF-8?q?gateway=20database=E6=96=B9=E5=BC=8F=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/jeecg/boot/starter/redis/config/RedisConfiguration.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java b/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java index d4c1d37b..5b3789a2 100644 --- a/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java +++ b/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java @@ -7,7 +7,6 @@ import lombok.extern.slf4j.Slf4j; import org.jeecg.boot.starter.redis.prop.JeecgRedisProperties; import org.jeecg.boot.starter.redis.service.RedisReceiver; import org.jeecg.common.constant.GlobalConstants; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; @@ -41,7 +40,6 @@ public class RedisConfiguration { * @return */ @Bean - @ConditionalOnMissingBean(RedisTemplate.class) public RedisTemplate redisTemplate(LettuceConnectionFactory lettuceConnectionFactory) { log.info(" --- redis config init --- "); // 设置序列化