Closed weir2010 closed 4 weeks ago
Config config = new RSAAutoCertificateConfig.Builder() .merchantId(sysConfig.weiXinPay().mchId()) .privateKeyFromPath("/Users/weir/git/weir-quarkus-shop/quarkus-server/src/main/resources/wxpay.pem") .merchantSerialNumber(sysConfig.weiXinPay().privateKeyNo()) .apiV3Key(sysConfig.weiXinPay().apiV3Key()) .build();
{ "message": "Illegal base64 character 2d" }
报错 { "message": "Illegal base64 character 2d" }
No response
mac
jdk21
0.2.12
私钥的问题 解决了
错误描述
Config config = new RSAAutoCertificateConfig.Builder() .merchantId(sysConfig.weiXinPay().mchId()) .privateKeyFromPath("/Users/weir/git/weir-quarkus-shop/quarkus-server/src/main/resources/wxpay.pem") .merchantSerialNumber(sysConfig.weiXinPay().privateKeyNo()) .apiV3Key(sysConfig.weiXinPay().apiV3Key()) .build();
{ "message": "Illegal base64 character 2d" }
重现bug的步骤
报错 { "message": "Illegal base64 character 2d" }
预期行为
报错 { "message": "Illegal base64 character 2d" }
导致错误的代码片段
No response
操作系统
mac
Java 版本
jdk21
wechatpay-java 版本
0.2.12
其他信息
No response