From c3ddd8714508b1859704cccda25714675f93cdc2 Mon Sep 17 00:00:00 2001 From: Emmet Jang Date: Wed, 19 Feb 2025 15:39:59 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E5=B0=86=E3=80=8C=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98=E5=85=AC=E9=92=A5=E9=AA=8C?= =?UTF-8?q?=E7=AD=BE=E3=80=8D=E4=BD=9C=E4=B8=BA=E9=BB=98=E8=AE=A4=E7=9A=84?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=20(#348)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 79d5ea87..71d8ea8c 100644 --- a/README.md +++ b/README.md @@ -78,12 +78,13 @@ public class QuickStart { public static String apiV3Key = "..."; public static void main(String[] args) { - // 使用自动更新平台证书的RSA配置 - // 一个商户号只能初始化一个配置,否则会因为重复的下载任务报错 + // 使用微信支付公钥的RSA配置 Config config = - new RSAAutoCertificateConfig.Builder() + new RSAPublicKeyConfig.Builder() .merchantId(merchantId) .privateKeyFromPath(privateKeyPath) + .publicKeyFromPath(publicKeyPath) + .publicKeyId(publicKeyId) .merchantSerialNumber(merchantSerialNumber) .apiV3Key(apiV3Key) .build();