From 9d3611f700cdf09e46b67fd21abdf2d5c3c7edff Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Fri, 7 Apr 2023 11:26:46 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=AE=8C=E5=96=84=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/WechatTenpayV2/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/WechatTenpayV2/README.md b/docs/WechatTenpayV2/README.md index 396e0563..9c5ff5c8 100644 --- a/docs/WechatTenpayV2/README.md +++ b/docs/WechatTenpayV2/README.md @@ -40,7 +40,7 @@ var options = new WechatTenpayClientOptions() { MerchantId = "微信商户号", MerchantSecret = "微信商户 API 密钥", - MerchantCertificateBytes = Convert.FromBase64String("微信商户证书内容,即 `apiclient_cert.p12` 文件内容的 Base64 编码结果"), + MerchantCertificateBytes = File.ReadAllBytes("/微信商户证书文件路径/apiclient_cert.p12"), MerchantCertificatePassword = "微信商户证书密码,通常是商户号" }; var client = new WechatTenpayClient(options);