修改结构
This commit is contained in:
@@ -131,7 +131,7 @@ 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:p6spy:mysql://10.0.3.44:3306/income_payments?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
url: jdbc:p6spy:mysql://192.168.18.254:3306/income_payments?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||||
@@ -144,7 +144,7 @@ spring:
|
|||||||
#redis 配置
|
#redis 配置
|
||||||
redis:
|
redis:
|
||||||
database: 14
|
database: 14
|
||||||
host: 121.36.69.172
|
host: 192.168.18.254
|
||||||
lettuce:
|
lettuce:
|
||||||
pool:
|
pool:
|
||||||
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
||||||
@@ -153,7 +153,8 @@ spring:
|
|||||||
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
||||||
shutdown-timeout: 100ms
|
shutdown-timeout: 100ms
|
||||||
password: hzwlsoft.com
|
password: hzwlsoft.com
|
||||||
port: 4780
|
port: 6379
|
||||||
|
|
||||||
#mybatis plus 设置
|
#mybatis plus 设置
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
mapper-locations: classpath*:com/jero/**/xml/*Mapper.xml
|
mapper-locations: classpath*:com/jero/**/xml/*Mapper.xml
|
||||||
@@ -294,3 +295,4 @@ justauth:
|
|||||||
type: default
|
type: default
|
||||||
prefix: 'demo::'
|
prefix: 'demo::'
|
||||||
timeout: 1h
|
timeout: 1h
|
||||||
|
defaultPassword: HZWLsoft.com123
|
||||||
Reference in New Issue
Block a user