From e7163ceea7970a5022da2f45b51edd0c749ad14e Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 01 Feb 2023 09:57:12 +0800 Subject: [PATCH] 1 --- src/main/resources/application-prod.yml | 25 +++++++++++++++---------- 1 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 7fab32d..1ec3ba3 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -2,7 +2,7 @@ datasource: dynamic: # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗 - p6spy: true + p6spy: false hikari: connection-timeout: 30000 max-lifetime: 1800000 @@ -15,20 +15,20 @@ datasource: # 数据源-1,名称为 base base: - username: ct_test - password: 123456 + username: db_mall_coin + password: db_mall_coin!@#123 driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://120.27.238.55:3306/xc_mall?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 + url: jdbc:mysql://127.0.0.1:3306/db_mall_coin?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 redis: # Redis数据库索引(默认为 0) - database: 3 + database: 12 # Redis服务器地址 - host: 120.27.238.55 + host: 127.0.0.1 # Redis服务器连接端口 port: 6379 # Redis 密码 - password: xcong123 + password: dapp!@#123 lettuce: pool: # 连接池中的最小空闲连接 @@ -42,10 +42,10 @@ # 连接超时时间(毫秒) timeout: 5000 rabbitmq: - host: 120.27.238.55 + host: 127.0.0.1 port: 5672 - username: ct_rabbit - password: 123456 + username: xc_rabbit + password: xuncong123 publisher-confirm-type: correlated pay: @@ -58,3 +58,8 @@ # 回调地址 noticeUrl: http://120.27.238.55:8801/api/pay/aliCallBack domain: https://openapi.alipay.com/gateway.do + + +system: +# chain-listener: true + chain-listener: false \ No newline at end of file -- Gitblit v1.9.1