From c0cae0a68ec2d917a9fad1f093a16b6d1d16af3c Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 16 Mar 2023 13:41:37 +0800 Subject: [PATCH] 后台修改 --- src/main/resources/application-prod.yml | 40 ++++++++++++++++++++++++++++++---------- 1 files changed, 30 insertions(+), 10 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 00f7aee..08adae1 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,24 @@ 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://127.0.0.1:3306/db_pingtuan?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 + username: db_mall_qianayi + password: db_mall_qianayi123!@#123 driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://120.27.238.55:3306/db_amz?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 + url: jdbc:mysql://121.37.162.173:3306/db_mall_qianayi?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 redis: # Redis数据库索引(默认为 0) - database: 3 + database: 8 # Redis服务器地址 - host: 120.27.238.55 + host: 127.0.0.1 # Redis服务器连接端口 port: 6379 # Redis 密码 - password: xcong123 + password: d32ncxe@i3#!dV lettuce: pool: # 连接池中的最小空闲连接 @@ -42,10 +46,10 @@ # 连接超时时间(毫秒) timeout: 5000 rabbitmq: - host: 120.27.238.55 + host: 127.0.0.1 port: 5672 - username: ct_rabbit - password: 123456 + username: hibit + password: hibit123 publisher-confirm-type: correlated pay: @@ -58,3 +62,19 @@ # 回调地址 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: wxfb1acf504eb9d058 + xcx_secret: 7ee226a964b1be7cfb96f5e0dc739c44 + debug: false + wecharPaynotifyUrl: http://qianayi.csxuncong.com/api/xcxPay/wxpayCallback + wecharRechargePaynotifyUrl: http://qianayi.csxuncong.com/api/xcxPay/rechargeCallBack + certLocalPath: /home/qianayiCert/apiclient_cert.p12 + wecharpayMchid: 1638095860 + wecharpaySecret: QIANAYIZONGZI1234567899876543212 + gaodeKey: 95ede7157929f5f6b6c758971be924b1 + serviceName: yiyuanshucai + +system: + job: false \ No newline at end of file -- Gitblit v1.9.1