From b113b572ac01c1a799e3b87d5307f34a93b88df8 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Fri, 23 Feb 2024 17:51:45 +0800 Subject: [PATCH] 抽奖 --- src/main/resources/application-prod.yml | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index a737781..7d991e2 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,14 +15,14 @@ datasource: # 数据源-1,名称为 base base: - username: db_mall - password: mall!@#123 + username: db_mall_hongloumeng + password: hongloumeng123!@#123 driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://127.0.0.1:3306/db_mall?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 + url: jdbc:mysql://127.0.0.1:3306/db_mall_hongloumeng?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&rewriteBatchedStatements=true&allowMultiQueries=true&serverTimezone=GMT%2b8 redis: # Redis数据库索引(默认为 0) - database: 0 + database: 1 # Redis服务器地址 host: 127.0.0.1 # Redis服务器连接端口 @@ -58,3 +58,9 @@ # 回调地址 noticeUrl: http://120.27.238.55:8801/api/pay/aliCallBack domain: https://openapi.alipay.com/gateway.do + wx: + appId: wx051693799db39540 + mchId: 1641389321 + mchKey: wqri51aCfiG31o4IcdX3dW12qnX3u4hp + keyPath: classpath:cert/apiclient_cert.p12 + noticeUrl: https://hlm.meiao.biz/api/pay/wxPayCallBack -- Gitblit v1.9.1