浏览代码

wisdom模块引入redisson分布式锁(注意别忘了配置文件)

ZhangWenQiang 4 年之前
父节点
当前提交
e7c9cc18f8
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      happy-cloud-wisdom/happy-cloud-wisdom-biz/pom.xml

+ 7 - 0
happy-cloud-wisdom/happy-cloud-wisdom-biz/pom.xml

@@ -40,6 +40,13 @@
             <artifactId>happy-cloud-starter-rabbitmq</artifactId>
             <version>2.2.0</version>
         </dependency>
+
+        <!--分布式锁-->
+        <dependency>
+            <groupId>org.happyframework.cloud</groupId>
+            <artifactId>happy-cloud-starter-lock</artifactId>
+            <version>2.2.0</version>
+        </dependency>
     </dependencies>
 
     <build>