From 237069c64614bfd763993c2c0e9488904722602d Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Sun, 1 Mar 2026 10:48:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=97=B6=E9=97=B4=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E5=86=85=E5=BD=93=E5=89=8D=E5=BA=97=E9=93=BA=E7=9A=84?= =?UTF-8?q?=E4=BA=A4=E6=98=93=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 44 +++++++++++-------- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/hiver-admin/src/main/resources/application.yml b/hiver-admin/src/main/resources/application.yml index e50059ab..51dafb16 100644 --- a/hiver-admin/src/main/resources/application.yml +++ b/hiver-admin/src/main/resources/application.yml @@ -25,11 +25,11 @@ spring: timeout-per-shutdown-phase: 10S # 数据源 datasource: - url: jdbc:mysql://154.8.162.157:3306/hiver_shop?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true -# url: jdbc:mysql://8.140.198.243:3306/hiver_shop?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true - username: reddoor + # url: jdbc:mysql://154.8.162.157:3306/hiver_shop?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true + url: jdbc:mysql://8.140.253.224:3306/school?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true + username: root # Jasypt加密 可到common-utils中找到JasyptUtil加解密工具类生成加密结果 格式为ENC(加密结果) 以下解密结果为123456 - password: ENC(Zla4U4+yRLPhicvuX2TmiEgxEpzP4dk8BHzFDEtiEhwLQIIaftZrrEUJZce6efoe) + password: ENC(87YloapnWG6mLejOa27eLN0afFhCrbAGxoHXXrSUrGJ0trM/BndC2kx/gfoJsXIi) type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver # Druid StatViewServlet配置 @@ -67,8 +67,8 @@ spring: ddl-auto: update # Redis 若设有密码自行添加配置password redis: - host: 154.8.162.157 -# host: 8.140.198.243 +# host: 154.8.162.157 + host: 8.140.253.224 password: reddoor168 # 数据库索引 默认0 database: 1 @@ -221,9 +221,9 @@ hiver: callbackUrl: http://127.0.0.1:8888/hiver/social/weibo/callback # wechat wechat: - appId: wx6d7d4fb58d1502db - appSecret: 3a2c8cd00926764bbd12fd7361e01f1d - callbackUrl: https://storage.xenjoyou.com/hiver/social/wechat/callback + appId: wx21a1caccef085db7 + appSecret: dd1642569f7484664d62ff0fd811bc54 + callbackUrl: https://hbkuaishi.com/hiver/social/wechat/callback # 钉钉 dingding: # 扫码登录应用 @@ -241,12 +241,12 @@ app: social: # 微信小程序 wxMini: - appId: wx6d7d4fb58d1502db - appSecret: 3a2c8cd00926764bbd12fd7361e01f1d + appId: wx21a1caccef085db7 + appSecret: dd1642569f7484664d62ff0fd811bc54 auth: token: kuaiyidian - appId: wx6d7d4fb58d1502db - appSecret: 3a2c8cd00926764bbd12fd7361e01f1d + appId: wx21a1caccef085db7 + appSecret: dd1642569f7484664d62ff0fd811bc54 wx: # 消息模板ID templateId: o9YG7vWS8It-mddU2Wnknf1jgzTqZtLeBQRLhF54SXQ @@ -265,8 +265,8 @@ wx: # redis前缀配置: wx(默认) key-prefix: wx redis: - host: 154.8.162.157 -# host: 8.140.198.243 +# host: 154.8.162.157 + host: 8.140.198.243 password: reddoor168 # 数据库索引 默认0 database: 1 @@ -383,8 +383,8 @@ ignored: - /hiver/social/wechat/echo - /hiver/user/getUserInfo - /hiver/app/customer/updateUserId - - + - /hiver/api/wechat/pay/notify + - /hiver/api/wechat/pay/ # 临时增加 - /hiver/app/logisticsOrder/addLogisticsOrder - /hiver/app/logisticsEntruckingLog/getDateLogisticsEntruckingLogPageList @@ -458,7 +458,7 @@ logging: # 最大保存天数 max-history: 7 # 每个文件最大大小 - max-file-size: 5MB + max-file-size: 10MB jpush: appKey: 130f556e8473c9b558777fe3 masterSecret: 2b4e5196dfc40a78db36480d @@ -467,3 +467,11 @@ aliyun: accessKeyId: 56640 # 阿里云秘钥 accessKeySecret: sk-bcfa4865b89548acb8225f910f13d682 +wechatpay: + appid: wx21a1caccef085db7 + mchId: 1106375960 + apiV3Key: qwaszxcdfertgfdertyhjyijm2145632 + merchantSerialNo: 4B42A5EDF9CA2FC2ACEB21271A773A4F15B432A4 + privateKeyPath: classpath:apiclient_key.pem + platformCertificatePath: classpath:apiclient_cert.pem + notifyUrl: https://hbkuaishi.com/hiver/api/wechat/pay/notify \ No newline at end of file