From 6ee0c7abed78a110eacb8f2b92fece0d29bc2292 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期一, 07 七月 2025 17:12:12 +0800 Subject: [PATCH] bug修改 --- cloud-server-other/src/main/java/com/dsh/other/util/wx/WxV3PayConfig.java | 17 ++--------------- 1 files changed, 2 insertions(+), 15 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/util/wx/WxV3PayConfig.java b/cloud-server-other/src/main/java/com/dsh/other/util/wx/WxV3PayConfig.java index 27d071f..f389ca2 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/util/wx/WxV3PayConfig.java +++ b/cloud-server-other/src/main/java/com/dsh/other/util/wx/WxV3PayConfig.java @@ -7,7 +7,6 @@ @Component public class WxV3PayConfig { // 服务商AppId - private String appIdValue = "wx41d32f362ba0f911"; public static String APP_ID= "wx41d32f362ba0f911"; @@ -15,7 +14,7 @@ private String mchIdValue= "1681873607"; public static String Mch_ID= "1681873607"; - // 平台收款商户号 todo 待申请 + // 平台收款商户号 弃用 public static String smidVx= "2088330203191220"; private String smidVxValue= "2088330203191220"; @@ -50,17 +49,5 @@ } } - // 注意: WXPaySignatureCertificateUtil 中的 getPrivateKey() 方法现在应该使用 WxV3PayConfig.privateKeyPath - // 你需要稍微修改 WXPaySignatureCertificateUtil.getPrivateKey() 方法: - /* - public static PrivateKey getPrivateKey() { - if (cachedPrivateKey != null) { - return cachedPrivateKey; - } - try { - String filePath = WxV3PayConfig.privateKeyPath; // 使用配置类中的路径 - // ... rest of the method ... - } // ... catch blocks ... - } - */ + } \ No newline at end of file -- Gitblit v1.7.1