From cb913a9adcbe83b5688478cf538f11631b1270da Mon Sep 17 00:00:00 2001 From: fanc <1571025887@qq.com> Date: 星期四, 25 一月 2024 14:48:29 +0800 Subject: [PATCH] fix 提升锁的作用域 并采用双重校验锁 --- ruoyi-common/ruoyi-common-encrypt/pom.xml | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ruoyi-common/ruoyi-common-encrypt/pom.xml b/ruoyi-common/ruoyi-common-encrypt/pom.xml index a1b0c5b..baa5931 100644 --- a/ruoyi-common/ruoyi-common-encrypt/pom.xml +++ b/ruoyi-common/ruoyi-common-encrypt/pom.xml @@ -37,14 +37,18 @@ <artifactId>hutool-crypto</artifactId> </dependency> - <!-- SpringBoot Web瀹瑰櫒 --> <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-web</artifactId> + <groupId>org.springframework</groupId> + <artifactId>spring-webmvc</artifactId> + </dependency> + + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-spring-boot3-starter</artifactId> <exclusions> <exclusion> - <artifactId>spring-boot-starter-tomcat</artifactId> - <groupId>org.springframework.boot</groupId> + <groupId>org.mybatis</groupId> + <artifactId>mybatis-spring</artifactId> </exclusion> </exclusions> </dependency> -- Gitblit v1.9.3