|
@@ -9,20 +9,28 @@ spring:
|
|
|
force: true
|
|
|
charset: UTF-8
|
|
|
enabled: true
|
|
|
+ autoconfigure:
|
|
|
+ exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
|
|
datasource:
|
|
|
- #driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- #url: jdbc:mysql://49.234.50.218:3306/list
|
|
|
- #url: jdbc:mysql://123.60.219.66:3306/configuration_software?default-character-set=utf8
|
|
|
- #url: jdbc:mysql://192.168.1.69/wisdom_cs?useUnicode=true&characterEncoding=UTF-8
|
|
|
- #username: root
|
|
|
- #password: gyeepd@123
|
|
|
- driver-class-name: org.postgresql.Driver
|
|
|
- url: jdbc:postgresql://123.60.219.66:5432/configuration_software
|
|
|
- username: postgres
|
|
|
- password: gyeepd@123
|
|
|
- #url: jdbc:postgresql://10.81.3.151:5432/configuration_software
|
|
|
- #username: postgres
|
|
|
- #password: postgres
|
|
|
+ dynamic:
|
|
|
+ primary: databasefirst
|
|
|
+ datasource:
|
|
|
+ databasefirst:
|
|
|
+ #driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+ #url: jdbc:mysql://49.234.50.218:3306/list
|
|
|
+ #url: jdbc:mysql://123.60.219.66:3306/configuration_software?default-character-set=utf8
|
|
|
+ #url: jdbc:mysql://192.168.1.69/wisdom_cs?useUnicode=true&characterEncoding=UTF-8
|
|
|
+ #username: root
|
|
|
+ #password: gyeepd@123
|
|
|
+ driver-class-name: org.postgresql.Driver
|
|
|
+ url: jdbc:postgresql://123.60.219.66:5432/configuration_software
|
|
|
+ username: postgres
|
|
|
+ password: gyeepd@123
|
|
|
+ databasesecond:
|
|
|
+ driver-class-name: org.postgresql.Driver
|
|
|
+ url: jdbc:postgresql://10.81.3.151:5432/configuration_software
|
|
|
+ username: postgres
|
|
|
+ password: postgres
|
|
|
|
|
|
mybatis-plus:
|
|
|
typeAliasesPackage: com.gyee.table.entity
|