feat(tenpayv3): bump version to v3.1.0

This commit is contained in:
Fu Diwei
2024-03-10 22:33:12 +08:00
parent 37ddd6e5fc
commit 36a960c11d
4 changed files with 16 additions and 4 deletions

View File

@@ -635,6 +635,18 @@
<summary>[展开查看]</summary>
- Release 3.1.0 (2024-03-10)
- **新增**:新增查询爱心餐品牌信息接口。
- **新增**:新增银行从业结构微信支付分修改订单金额、同步订单信息等接口。
- **修复**:修复二级商户进件接口路径错误。
- **修复**:修复异步加密请求中敏感数据不能降级为同步调用的问题。
- **修复**:修复解密响应中敏感数据在部分情况下抛出异常的问题。
- Release 3.0.1 (2024-02-15)
- **修复**修复部分接口请求签名错误。_via_ [GitHub #122](https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat/issues/122)

View File

@@ -40,7 +40,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Interceptors
{
if (context.FlurlCall.HttpRequestMessage.Content is MultipartFormDataContent multipartFormData)
{
HttpContent httpContent = multipartFormData.SingleOrDefault(e => FormDataFields.FORMDATA_META.Equals(e.Headers.ContentDisposition?.Name?.Trim('\"')));
HttpContent? httpContent = multipartFormData.SingleOrDefault(e => FormDataFields.FORMDATA_META.Equals(e.Headers.ContentDisposition?.Name?.Trim('\"')));
if (httpContent is not null)
{
body = await _AsyncEx.RunTaskWithCancellationTokenAsync(httpContent.ReadAsStringAsync(), cancellationToken).ConfigureAwait(false);

View File

@@ -14,7 +14,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>3.0.1</Version>
<Version>3.1.0</Version>
<Description>基于 Flurl.Http 的微信支付 API v3 版客户端,支持商户(直连)、合作伙伴(服务商、渠道商、机构、银行)模式,支持基础支付、代金券、商家券、委托营销、消费卡、支付有礼、银行定向促活、微信支付分、微信先享卡、支付即服务、点金计划、智慧商圈、电商收付通、平台收付通、二级商户进件、小微商户进件、消费者投诉、商户风控管理、商户违规通知、批量转账到零钱、银行组件、海关报关、融合钱包、微工卡、电子发票、电子小票、车主平台、教育续费通、校园轻松付等功能。</Description>
<Authors>Fu Diwei</Authors>
<RepositoryType>git</RepositoryType>
@@ -41,7 +41,7 @@
<ItemGroup>
<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" Condition="'$(TargetFramework)' == 'net461'" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" Condition="'$(TargetFramework)' == 'net462'" />
<PackageReference Include="SKIT.FlurlHttpClient.Common" Version="3.0.0" />
</ItemGroup>

View File

@@ -77,7 +77,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Settings
}
/// <summary>
/// 一个基于内存实现的 <see cref="CertificateManager"/>。
/// 一个基于内存实现的 <see cref="ICertificateManager"/>。
/// </summary>
public sealed class InMemoryCertificateManager : ICertificateManager
{