docs: 完善文档

This commit is contained in:
Fu Diwei
2024-02-20 12:49:36 +08:00
parent 2670b2b636
commit d8ac9416c6
6 changed files with 12 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ v3.x 版本是一个主要版本,其中包括了一些破坏性的变化。从
微软官方已与 2022 年 4 月 26 日宣布中止对 .NET Framework 4.6.1 的支持。因此,本项目的最低运行时要求调整为 .NET Framework 4.6.2。
与此同时,相关的 .NET 基础库(即通常在 `System.*``Microsoft.*` 命名空间下的内置类型)版本对齐至 .NET 8.0。
与此同时,相关的 .NET 基础库(即通常在 `System.*``Microsoft.*` 命名空间下的内置依赖)版本对齐至 .NET 8.0。
### `Flurl.Http` 的变更

View File

@@ -42,7 +42,7 @@ var options = new WechatTenpayClientOptions()
{
MerchantId = "微信商户号",
MerchantSecret = "微信商户 API 密钥",
MerchantCertificateBytes = File.ReadAllBytes("/微信商户证书文件路径/apiclient_cert.p12"),
MerchantCertificateBytes = System.IO.File.ReadAllBytes("/微信商户证书文件路径/apiclient_cert.p12"),
MerchantCertificatePassword = "微信商户证书密码,通常是商户号"
};
var client = WechatTenpayClientBuilder.Create(options).Build();