提交 db5cf25c 编写于 作者: 组合缺一's avatar 组合缺一

同步 IJPay-Demo-Springboot 的优化示例

上级 8daf60f1
......@@ -82,10 +82,12 @@ public class WxPayV3Controller {
public String index() {
log.info(wxPayV3Bean.toString());
try {
String classPath = "classpath:/dev/apiclient_cert.p12";
String classPath = "classpath:/dev/apiclient_key.pem";
String v3 = "classpath:/dev/wxpay_v3.properties";
String absolutePath = PayKit.getAbsolutePath(classPath);
log.info("absolutePath:{}", absolutePath);
String certFileContent = PayKit.getCertFileContent(classPath);
log.info("classPath content:{}", certFileContent);
InputStream inputStream = PayKit.getCertFileInputStream(v3);
if (null != inputStream) {
ByteArrayOutputStream result = new ByteArrayOutputStream();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册