|
|
@@ -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()];
|