SpringBoot使用AOP完成多数据源切换

基于上个项目完成数据源配置。 1、修改pom.xml文件,加入AOP和Processor <!-- AOP --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> <!--Properties动态注入 -
相关文章
相关标签/搜索