无关风月
14 小时以前 6ee0c7abed78a110eacb8f2b92fece0d29bc2292
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 ...
    }
    */
}