|
@@ -1,5 +1,5 @@
|
|
server:
|
|
server:
|
|
- port: 8080
|
|
|
|
|
|
+ port: 8085
|
|
tomcat:
|
|
tomcat:
|
|
max-swallow-size: -1
|
|
max-swallow-size: -1
|
|
error:
|
|
error:
|
|
@@ -131,16 +131,16 @@ spring:
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
datasource:
|
|
datasource:
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
|
|
+ url: jdbc:mysql://127.0.0.1:3306/geke?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
username: root
|
|
username: root
|
|
- password: root
|
|
|
|
|
|
+ password: 123456
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
# 多数据源配置
|
|
# 多数据源配置
|
|
- #multi-datasource1:
|
|
|
|
- #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
- #username: root
|
|
|
|
- #password: root
|
|
|
|
- #driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
+ multi-datasource1:
|
|
|
|
+ driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
+ url: jdbc:sqlserver://192.168.8.243:1433;SelectMethod=cursor;DatabaseName=UFDATA_997_2022
|
|
|
|
+ username: sa
|
|
|
|
+ password: QAZWSXqazwsx123
|
|
#redis 配置
|
|
#redis 配置
|
|
redis:
|
|
redis:
|
|
database: 0
|
|
database: 0
|