天天看點

使用 mybatis plus 動态資料源

使用 mybatis plus 動态資料源

1.pom.xml 增加

2.配置 application.yml

3.修改 SpringBootApplication 注解配置

這樣就可以使用動态資料源了。

繼續閱讀