anderx hace 4 años
padre
commit
bad115082a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/main/java/com/kede/sdk/service/IWxPayConfig.java

+ 2 - 1
src/main/java/com/kede/sdk/service/IWxPayConfig.java

@@ -37,7 +37,8 @@ public class IWxPayConfig extends WXPayConfig {
 
 	public IWxPayConfig() throws Exception { 
    	// 构造方法读取证书, 通过getCertStream 可以使sdk获取到证书
-       String certPath = "F:/project/ztest/src/main/resources/apiclient_cert.p12";
+//       String certPath = "F:/project/ztest/src/main/resources/apiclient_cert.p12";
+		String certPath = "/data/apiclient_cert.p12";
        File file = new File(certPath);
        InputStream certStream = new FileInputStream(file);
        this.certData = new byte[(int) file.length()];