From f46eb4f00d7b8e03a08dd7fe8460e3e43389e981 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Fri, 12 Aug 2022 22:53:43 +0800 Subject: [PATCH] fix --- src/main/resources/application-dev.yml | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 47f4a84..d5dbf1b 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -2,7 +2,7 @@ datasource: dynamic: # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗 - p6spy: false + p6spy: true hikari: connection-timeout: 30000 max-lifetime: 1800000 @@ -15,14 +15,25 @@ datasource: # 数据源-1,名称为 base base: +# username: db_tfc +# password: tfc!@#123 +# driver-class-name: com.mysql.cj.jdbc.Driver +# url: jdbc:mysql://154.91.195.155:3306/db_tfc?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 username: ct_test password: 123456 driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://120.27.238.55:3306/db_tfc?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 redis: - # Redis数据库索引(默认为 0) - database: 0 +# # Redis数据库索引(默认为 0) +# database: 4 +# # Redis服务器地址 +# host: 154.91.195.155 +# # Redis服务器连接端口 +# port: 6379 +# # Redis 密码 +# password: ann123!@# + database: 9 # Redis服务器地址 host: 120.27.238.55 # Redis服务器连接端口 @@ -42,6 +53,10 @@ # 连接超时时间(毫秒) timeout: 5000 rabbitmq: +# host: 154.91.195.155 +# port: 5672 +# username: abc_user +# password: abc123 host: 120.27.238.55 port: 5672 username: ct_rabbit @@ -49,4 +64,6 @@ publisher-confirm-type: correlated system: - online-transfer: false \ No newline at end of file + online-transfer: true + chain-listener: true + trade-job: false \ No newline at end of file -- Gitblit v1.9.1