diff --git a/baogutang-common/pom.xml b/baogutang-common/pom.xml
index ecf4b06..cf97776 100644
--- a/baogutang-common/pom.xml
+++ b/baogutang-common/pom.xml
@@ -48,6 +48,10 @@
redis.clients
jedis
+
+ org.apache.commons
+ commons-pool2
+
org.springframework.cloud
spring-cloud-context
diff --git a/baogutang-common/src/main/java/top/baogutang/common/config/RedisConfig.java b/baogutang-common/src/main/java/top/baogutang/common/config/RedisConfig.java
index d47831f..3a0c1d7 100644
--- a/baogutang-common/src/main/java/top/baogutang/common/config/RedisConfig.java
+++ b/baogutang-common/src/main/java/top/baogutang/common/config/RedisConfig.java
@@ -33,6 +33,7 @@ public class RedisConfig {
@Bean
@SuppressWarnings("all")
public RedisTemplate redisTemplate(RedisConnectionFactory redisConnectionFactory) throws UnknownHostException {
+ log.info(">>>>>>>>>>start init redis config<<<<<<<<<<");
// 为了开发方便,直接使用
RedisTemplate template = new RedisTemplate();
template.setConnectionFactory(redisConnectionFactory);
@@ -58,7 +59,7 @@ public class RedisConfig {
template.setHashValueSerializer(jackson2JsonRedisSerializer);
// 把所有的配置 set 进 template
template.afterPropertiesSet();
-
+ log.info(">>>>>>>>>>redis config init success<<<<<<<<<<");
return template;
}