Pre Merge pull request !191 from 0334wangzhiwei/master-jdk17

pull/191/MERGE
0334wangzhiwei 2025-05-12 02:54:28 +00:00 committed by Gitee
commit 7b5e07e1be
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ public class PayClientFactoryImplIntegrationTest {
config.setApiVersion(WxPayClientConfig.API_VERSION_V3); config.setApiVersion(WxPayClientConfig.API_VERSION_V3);
config.setPrivateKeyContent(IoUtil.readUtf8(new FileInputStream("/Users/yunai/Downloads/wx_pay/apiclient_key.pem"))); config.setPrivateKeyContent(IoUtil.readUtf8(new FileInputStream("/Users/yunai/Downloads/wx_pay/apiclient_key.pem")));
// config.setPrivateCertContent(IoUtil.readUtf8(new FileInputStream("/Users/yunai/Downloads/wx_pay/apiclient_cert.pem"))); // config.setPrivateCertContent(IoUtil.readUtf8(new FileInputStream("/Users/yunai/Downloads/wx_pay/apiclient_cert.pem")));
config.setCertSerialNo("CACA0EB0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D");
config.setApiV3Key("joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase"); config.setApiV3Key("joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase");
// 创建客户端 // 创建客户端
Long channelId = RandomUtil.randomLong(); Long channelId = RandomUtil.randomLong();