From 39bb7a46fde650e46eea81d0b2e538a988be8e16 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Wed, 2 Dec 2020 10:12:08 +0800 Subject: [PATCH] =?UTF-8?q?gateway=E8=B7=AF=E7=94=B1=E9=87=87=E7=94=A8data?= =?UTF-8?q?base=E6=96=B9=E5=BC=8F=E5=8A=A0=E8=BD=BD=EF=BC=8C=E5=A4=B1?= =?UTF-8?q?=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 --- "); // 设置序列化