mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
feat(tenpayv3): bump version to v2.3.1
This commit is contained in:
parent
65e1c1a549
commit
f5eb1691d2
@ -238,6 +238,10 @@
|
||||
|
||||
<summary>[展开查看]</summary>
|
||||
|
||||
- Release 2.3.1
|
||||
|
||||
- **修复**:修复无法自动为请求设置平台证书序列号的问题。
|
||||
|
||||
- Release 2.3.0
|
||||
|
||||
- **新增**:新增银行组件相关接口。
|
||||
|
@ -77,7 +77,11 @@ var response = await client.ExecuteAddProfitSharingReceiverAsync(request);
|
||||
如果你希望本库在请求前能自动完成这项操作,你可以在构造得到 `WechatApiClient` 对象时指定自动化参数:
|
||||
|
||||
```csharp
|
||||
var options = new WechatTenpayClientOptions() { AutoEncryptRequestSensitiveProperty = true };
|
||||
var options = new WechatTenpayClientOptions()
|
||||
{
|
||||
// 其他配置项略
|
||||
AutoEncryptRequestSensitiveProperty = true
|
||||
};
|
||||
var client = new WechatTenpayClient(options);
|
||||
```
|
||||
|
||||
@ -97,7 +101,11 @@ var client = new WechatTenpayClient(options);
|
||||
|
||||
```csharp
|
||||
var manager = new InMemoryCertificateManager(); // 为便于后续使用,该对象可使用同一商户号下全局单例的方式声明
|
||||
var options = new WechatTenpayClientOptions() { CertificateManager = manager };
|
||||
var options = new WechatTenpayClientOptions()
|
||||
{
|
||||
// 其他配置项略
|
||||
CertificateManager = manager
|
||||
};
|
||||
var client = new WechatTenpayClient(options);
|
||||
```
|
||||
|
||||
|
@ -41,7 +41,10 @@ string temp = response.CertificateList.First().EncryptCertificate.CipherText; //
|
||||
如果你希望本库在响应后能自动完成这项操作,你可以在构造得到 `WechatApiClient` 对象时指定自动化参数:
|
||||
|
||||
```csharp
|
||||
var options = new WechatTenpayClientOptions() { AutoDecryptResponseSensitiveProperty = true };
|
||||
var options = new WechatTenpayClientOptions()
|
||||
{
|
||||
AutoDecryptResponseSensitiveProperty = true
|
||||
};
|
||||
var client = new WechatTenpayClient(options);
|
||||
```
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
||||
<PackageTags>Flurl.Http Wechat Weixin MicroMessage Tenpay WechatPay WeixinPay Wxpay 微信 微信支付 微信商户</PackageTags>
|
||||
<Version>2.3.0</Version>
|
||||
<Version>2.3.1</Version>
|
||||
<Description>基于 Flurl.Http 的微信支付 API v3 版客户端,支持直连商户、服务商模式,支持基础支付、代金券、商家券、委托营销、消费卡、支付有礼、银行定向促活、微信支付分、微信先享卡、支付即服务、点金计划、智慧商圈、电商收付通、消费者投诉、商户违规通知、批量转账到零钱、银行组件等功能。</Description>
|
||||
<Authors>Fu Diwei</Authors>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
|
Loading…
Reference in New Issue
Block a user