From 69e44659412c7868592331d3b1570b87147b4025 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 08 Aug 2022 12:45:26 +0800 Subject: [PATCH] fix --- src/main/resources/application-dev.yml | 40 ++++++++++++++++++++++++++++------------ 1 files changed, 28 insertions(+), 12 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 1b0fee8..5e67e7a 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,20 +15,31 @@ datasource: # 数据源-1,名称为 base base: - username: ct_test - password: 123456 + username: db_tfc + password: tfc!@#123 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 + 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 + database: 4 # Redis服务器地址 - host: 120.27.238.55 + host: 154.91.195.155 # Redis服务器连接端口 port: 6379 # Redis 密码 - password: xcong123 + password: ann123!@# +# database: 9 +# # Redis服务器地址 +# host: 120.27.238.55 +# # Redis服务器连接端口 +# port: 6379 +# # Redis 密码 +# password: xcong123 lettuce: pool: # 连接池中的最小空闲连接 @@ -42,12 +53,17 @@ # 连接超时时间(毫秒) timeout: 5000 rabbitmq: - host: 120.27.238.55 + host: 154.91.195.155 port: 5672 - username: ct_rabbit - password: 123456 - publisher-confirm-type: correlated + username: abc_user + password: abc123 +# host: 120.27.238.55 +# port: 5672 +# username: ct_rabbit +# password: 123456 +# publisher-confirm-type: correlated system: online-transfer: false - chain-listener: false \ No newline at end of file + chain-listener: true + trade-job: false \ No newline at end of file -- Gitblit v1.9.1