From 20baad735955b74fc71786237177cf138d27f663 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期一, 27 六月 2022 19:05:03 +0800
Subject: [PATCH] 新增Redis可以切换数据库

---
 pom.xml |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index f497221..b9611a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
     <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
-        <version>2.0.5.RELEASE</version>
+        <version>2.6.2</version>
         <relativePath/> <!-- lookup parent from repository -->
     </parent>
 
@@ -33,7 +33,9 @@
         <ezmorph.version>1.0.3</ezmorph.version>
         <oss.version>2.8.3</oss.version>
         <jstl.api.version>1.2</jstl.api.version>
-        <spring.redis.version>1.4.2.RELEASE</spring.redis.version>
+        <spring.redis.version>2.7.0</spring.redis.version>
+        <redisson.version>3.17.4</redisson.version>
+        <jackson.databind.version>2.13.3</jackson.databind.version>
         <cglib.version>3.1</cglib.version>
         <shiro.version>1.3.2</shiro.version>
         <commons-beanutils.version>1.9.3</commons-beanutils.version>
@@ -42,7 +44,7 @@
         <java.jwt.version>3.10.3</java.jwt.version>
         <jjwt.version>0.9.1</jjwt.version>
         <pagehelper.version>5.1.11</pagehelper.version>
-        <pagehelper-boot.version>1.2.13</pagehelper-boot.version>
+        <pagehelper-boot.version>1.4.1</pagehelper-boot.version>
         <mail.version>1.6.2</mail.version>
         <jdk15on.version>1.66</jdk15on.version>
         <dom4j.version>2.1.3</dom4j.version>
@@ -223,6 +225,18 @@
                 <artifactId>spring-boot-starter-data-redis</artifactId>
                 <version>${spring.redis.version}</version>
             </dependency>
+            <!-- https://mvnrepository.com/artifact/org.redisson/redisson-spring-boot-starter -->
+            <dependency>
+                <groupId>org.redisson</groupId>
+                <artifactId>redisson-spring-boot-starter</artifactId>
+                <version>${redisson.version}</version>
+            </dependency>
+
+            <dependency>
+                <groupId>com.fasterxml.jackson.core</groupId>
+                <artifactId>jackson-databind</artifactId>
+                <version>${jackson.databind.version}</version>
+            </dependency>
 
             <dependency>
                 <groupId>org.projectlombok</groupId>

--
Gitblit v1.8.0