From a129fafb69fa9804ab960067021757ac6b835c97 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 22 六月 2021 13:57:36 +0800 Subject: [PATCH] update 更新多数据源与缓存 注意事项 --- pom.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/pom.xml b/pom.xml index 355d59e..877a396 100644 --- a/pom.xml +++ b/pom.xml @@ -30,6 +30,7 @@ <feign-okhttp.version>11.0</feign-okhttp.version> <spring-boot-admin.version>2.4.1</spring-boot-admin.version> <redisson.version>3.15.2</redisson.version> + <datasource.version>3.4.0</datasource.version> </properties> <!-- 渚濊禆澹版槑 --> @@ -79,6 +80,13 @@ <version>${jwt.version}</version> </dependency> + <!-- dynamic-datasource 澶氭暟鎹簮--> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>dynamic-datasource-spring-boot-starter</artifactId> + <version>${datasource.version}</version> + </dependency> + <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> @@ -89,6 +97,7 @@ <artifactId>mybatis-plus-extension</artifactId> <version>${mybatis-plus.version}</version> </dependency> + <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> -- Gitblit v1.9.3