Browse Source

redis集群配置

zouxuan 1 year ago
parent
commit
39daebf3e3
1 changed files with 5 additions and 9 deletions
  1. 5 9
      cooleshow-common/pom.xml

+ 5 - 9
cooleshow-common/pom.xml

@@ -34,17 +34,13 @@
 			<groupId>com.yonge.toolset</groupId>
 			<artifactId>utils</artifactId>
 		</dependency>
-		<!-- Redis缓存整合开始 -->
+
 		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-data-redis</artifactId>
-			<exclusions>
-				<exclusion>
-					<groupId>io.lettuce</groupId>
-					<artifactId>lettuce-core</artifactId>
-				</exclusion>
-			</exclusions>
+			<groupId>org.redisson</groupId>
+			<artifactId>redisson-spring-boot-starter</artifactId>
+			<version>${redisson.version}</version>
 		</dependency>
+
 		<dependency>
 			<groupId>redis.clients</groupId>
 			<artifactId>jedis</artifactId>