From c7ad20b2170aa3e30e271c2f3031c28a8deb3bf6 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 17 Aug 2022 15:34:05 +0800 Subject: [PATCH] 20220810 --- src/main/resources/application-prod.yml | 28 +++++++++++++++++++--------- 1 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 7fab32d..ca0815b 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -15,20 +15,20 @@ datasource: # 数据源-1,名称为 base base: - username: ct_test - password: 123456 + username: db_mall + password: mall!@#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_pingtuan?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 redis: # Redis数据库索引(默认为 0) - database: 3 + database: 0 # Redis服务器地址 - host: 120.27.238.55 + host: 127.0.0.1 # Redis服务器连接端口 port: 6379 # Redis 密码 - password: xcong123 + password: zhongji-mall=-0 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: zj_mall + password: zj_mall123 publisher-confirm-type: correlated pay: @@ -58,3 +58,13 @@ # 回调地址 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: wx5cc58f796224af61 + xcx_secret: 71403646f666f9b9dca308d4f357765c + debug: true + wecharPaynotifyUrl: http://groupbuy.csxuncong.com/api/xcxPay/wxpayCallback + certLocalPath: /home/xuncongCert/apiclient_cert.p12 + wecharpayMchid: 1605533690 + wecharpaySecret: CSxc168888CSxc168888CSxc168888xc -- Gitblit v1.9.1