rentaiming
2024-05-29 7998c03ea0b22ca4f7fc50d77d99df6501fb7fd1
ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/tencent/common/Configure.java
@@ -42,7 +42,7 @@
   //HTTPS证书的本地路径
   private static String certLocalPath;
   static{//从服务器相对路径中获取
      certLocalPath = Configure.class.getClassLoader().getResource("").getPath() + "com/tencent/common/cert/apiclient_cert.p12";
      certLocalPath = Configure.class.getClassLoader().getResource("").getPath() + "com/ruoyi/order/util/tencent/common/cert/apiclient_cert.p12";
   }
   
   //HTTPS证书密码,默认密码等于商户号MCHID
@@ -51,7 +51,7 @@
   //HTTPS证书的本地路径
   private static String certLocalPath_2;
   static{//从服务器相对路径中获取
      certLocalPath_2 = Configure.class.getClassLoader().getResource("").getPath() + "com/tencent/common/cert_2/apiclient_cert.p12";
      certLocalPath_2 = Configure.class.getClassLoader().getResource("").getPath() + "com/ruoyi/order/util/tencent/common/cert_2/apiclient_cert.p12";
   }   
   
   //HTTPS证书密码,默认密码等于商户号MCHID