Browse Source

fix: 更换redis依赖

Juneh 1 year ago
parent
commit
97ce7d97ea

+ 11 - 0
zhbsq-common/pom.xml

@@ -105,6 +105,17 @@
         <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>
+        </dependency>
+
+        <dependency>
+            <groupId>redis.clients</groupId>
+            <artifactId>jedis</artifactId>
         </dependency>
 
         <!-- aop -->

+ 0 - 2
zhbsq-common/src/main/java/com/hjy/common/utils/StringUtils.java

@@ -3,8 +3,6 @@ package com.hjy.common.utils;
 import com.hjy.common.constant.Constants;
 import com.hjy.common.core.text.Convert;
 import com.hjy.common.core.text.StrFormatter;
-import io.netty.util.internal.MathUtil;
-import org.apache.commons.math3.util.MathUtils;
 import org.springframework.util.AntPathMatcher;
 
 import java.util.*;