From c6d30e55157e59fe7bb45f9eeaec904a8cf88ec4 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 02 Sep 2024 11:00:46 +0800 Subject: [PATCH] test和数据库连接 --- src/main/resources/application-dev.yml | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 798d945..5b135f7 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -18,17 +18,18 @@ username: db_yunzhong password: db_yunzhong321 driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://120.27.238.55:3406/db_yunzhong?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 + url: jdbc:mysql://120.55.52.174:3306/db_yunzhong?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 +# url: jdbc:mysql://120.27.238.55:3406/db_yunzhong?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 redis: # Redis数据库索引(默认为 0) - database: 4 + database: 1 # Redis服务器地址 - host: 120.27.238.55 + host: 120.55.52.174 # Redis服务器连接端口 - port: 6479 + port: 6379 # Redis 密码 - password: d3y6dsdl;f.327 + password: 1!qaz2@WSX lettuce: pool: # 连接池中的最小空闲连接 @@ -42,10 +43,10 @@ # 连接超时时间(毫秒) timeout: 5000 rabbitmq: - host: 120.27.238.55 + host: 120.55.52.174 port: 5672 - username: ct_rabbit - password: 123456 + username: xc_rabbit + password: xuncong123 publisher-confirm-type: correlated pay: @@ -73,8 +74,8 @@ xcx_appid: wx4118b853de343a16 xcx_secret: 0c367c3333093572882dbb9cbe9f30b6 debug: true - wecharPaynotifyUrl: http://xcxapi.csyzyl.com/api/xcxPay/wxpayCallback - wecharRechargePaynotifyUrl: http://xcxapi.csyzyl.com/api/xcxPay/rechargeCallBack + wecharPaynotifyUrl: https://xcxapi.csyzyl.com/api/xcxPay/wxpayCallback + wecharRechargePaynotifyUrl: https://xcxapi.csyzyl.com/api/xcxPay/rechargeCallBack certLocalPath: /home/javaweb/webresource/yzyl/cert/apiclient_cert.p12 wecharpayMchid: 1676508272 wecharpaySecret: YYSC13875978057YYSC13875978057SH @@ -83,7 +84,7 @@ static: resource: - url: http://xcxapi.csyzyl.com/file/ + url: http://120.27.238.55:8382/file/ path: /home/javaweb/webresource/yzyl/file/ system: -- Gitblit v1.9.1