修改配置文件
This commit is contained in:
parent
4cac70cb7a
commit
fd733f8540
|
|
@ -166,11 +166,11 @@ spring:
|
|||
password: root
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# 多数据源配置
|
||||
multi-datasource1:
|
||||
url: jdbc:mysql://localhost:3306/heatsupply?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:
|
||||
# url: jdbc:mysql://localhost:3306/heatsupply?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
|
||||
#redis 配置
|
||||
redis:
|
||||
database: 0
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ spring:
|
|||
application:
|
||||
name: jeecg-system
|
||||
profiles:
|
||||
active: prod
|
||||
active: dev
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
Loading…
Reference in New Issue