feat:自定义动态数据源@DynamicDataSource
This commit is contained in:
11
pom.xml
11
pom.xml
@@ -12,6 +12,7 @@
|
||||
<module>xservice-common</module>
|
||||
<module>xservice-cache</module>
|
||||
<module>xservice-third-part</module>
|
||||
<module>xservice-mysql-starter</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
@@ -71,13 +72,17 @@
|
||||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||||
<version>${mybatis-spring-boot.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Redis -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Redis -->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||
<!-- <artifactId>spring-boot-starter-data-redis</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
<!-- RocketMQ -->
|
||||
<dependency>
|
||||
<groupId>org.apache.rocketmq</groupId>
|
||||
|
||||
Reference in New Issue
Block a user