From 8bac6c735a32b2fe4e94795045ea63962f0fb23c Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 20 Feb 2024 14:28:49 +0800 Subject: [PATCH] fix --- src/main/resources/application-prod.yml | 39 ++++++++++++++++++++++++++++----------- 1 files changed, 28 insertions(+), 11 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 7fab32d..af5002d 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: blnka + password: blnka!@#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_blnka?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 redis: # Redis数据库索引(默认为 0) - database: 3 + database: 1 # Redis服务器地址 - host: 120.27.238.55 + host: 127.0.0.1 # Redis服务器连接端口 - port: 6379 + port: 6279 # Redis 密码 - password: xcong123 + password: blnka!@#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: blnka + password: blnka123 publisher-confirm-type: correlated pay: @@ -58,3 +58,20 @@ # 回调地址 noticeUrl: http://120.27.238.55:8801/api/pay/aliCallBack domain: https://openapi.alipay.com/gateway.do + +xcx: + wechar_login_url: https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code + xcx_appid: wxad2fdb2fcad10fb2 + xcx_secret: 9bb58d655bff419feec3a6d948ca8b8d + debug: false + wecharPaynotifyUrl: http://api.blnka.cn/api/xcxPay/wxpayCallback + wecharRechargePaynotifyUrl: http://api.blnka.cn/api/xcxPay/rechargeCallBack + certLocalPath: /home/blnkaCert/apiclient_cert.p12 + wecharpayMchid: 1658958205 + wecharpaySecret: daL341aN5orDt13puXadsAf2rpuXdq4r + wecharpaySecretV3: daL341aN5orDt13puXadsAf2rpuX12v3 + gaodeKey: 95ede7157929f5f6b6c758971be924b1 + serviceName: yiyuanshucai + +system: + job: true \ No newline at end of file -- Gitblit v1.9.1