mitao
2024-07-04 1f43b711ebb1c18b83d86189312e2f1abe8a54d6
ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/tencent/service/WXPayConfigImpl.java
@@ -16,7 +16,7 @@
    private static WXPayConfigImpl INSTANCE;
    private WXPayConfigImpl() throws Exception{
        String certPath = WXPayConfigImpl.class.getClassLoader().getResource("").getPath() + "com/tencent/common/cert/apiclient_cert.p12";
        String certPath = WXPayConfigImpl.class.getClassLoader().getResource("").getPath() + "com/ruoyi/order/util/tencent/common/cert/apiclient_cert.p12";
        File file = new File(certPath);
        InputStream certStream = new FileInputStream(file);
        this.certData = new byte[(int) file.length()];