Browse Source

redispom文件

zhoutg 5 years ago
parent
commit
3d584efc16
1 changed files with 10 additions and 0 deletions
  1. 10 0
      data-service/pom.xml

+ 10 - 0
data-service/pom.xml

@@ -129,6 +129,16 @@
             <artifactId>spring-cloud-starter-stream-rabbit</artifactId>
         </dependency>
 
+        <!--redis设置-->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-redis</artifactId>
+        </dependency>
+        <!-- 必须加上,jedis依赖此  -->
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-pool2</artifactId>
+        </dependency>
     </dependencies>
 
     <build>