feat(tenpayv2): bump version to v3.0.0

This commit is contained in:
Fu Diwei
2024-02-07 15:55:34 +08:00
committed by RHQYZ
parent aa286f7b5c
commit 46702e99b0
2 changed files with 9 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>net461; net471; netstandard2.0; net6.0</TargetFrameworks> <TargetFrameworks>net462; net471; netstandard2.0; net6.0</TargetFrameworks>
<LangVersion>10.0</LangVersion> <LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<NullableReferenceTypes>true</NullableReferenceTypes> <NullableReferenceTypes>true</NullableReferenceTypes>
@@ -14,7 +14,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression> <PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl> <PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
<PackageTags>Flurl.Http Wechat Weixin MicroMessage Tenpay WechatPay WeixinPay Wxpay 微信 微信支付 微信商户</PackageTags> <PackageTags>Flurl.Http Wechat Weixin MicroMessage Tenpay WechatPay WeixinPay Wxpay 微信 微信支付 微信商户</PackageTags>
<Version>3.0.0-preview.1</Version> <Version>3.0.0</Version>
<Description>基于 Flurl.Http 的微信支付 API v2 版客户端,支持普通商户、境内服务商、银行服务商、跨境支付模式,仅包含微信支付未提供 v3 版 API 的部分功能,同时支持企业微信中企业支付相关的部分功能。如需微信支付 v3 版 API 客户端,欢迎使用 `SKIT.FlurlHttpClient.Wechat.TenpayV3`。</Description> <Description>基于 Flurl.Http 的微信支付 API v2 版客户端,支持普通商户、境内服务商、银行服务商、跨境支付模式,仅包含微信支付未提供 v3 版 API 的部分功能,同时支持企业微信中企业支付相关的部分功能。如需微信支付 v3 版 API 客户端,欢迎使用 `SKIT.FlurlHttpClient.Wechat.TenpayV3`。</Description>
<Authors>Fu Diwei</Authors> <Authors>Fu Diwei</Authors>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
@@ -36,12 +36,12 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System.Net.Http.WebRequest" Condition="'$(TargetFramework)' == 'net461' Or '$(TargetFramework)' == 'net471'" /> <Reference Include="System.Net.Http.WebRequest" Condition="'$(TargetFramework)' == 'net462' Or '$(TargetFramework)' == 'net471'" />
<Reference Include="System.Web" Condition="'$(TargetFramework)' == 'net461' Or '$(TargetFramework)' == 'net471'" /> <Reference Include="System.Web" Condition="'$(TargetFramework)' == 'net462' Or '$(TargetFramework)' == 'net471'" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="SKIT.FlurlHttpClient.Common" Version="3.0.0-preview.1" /> <PackageReference Include="SKIT.FlurlHttpClient.Common" Version="3.0.0" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -11,6 +11,10 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests
[Fact(DisplayName = "代码质量分析")] [Fact(DisplayName = "代码质量分析")]
public void CodeAnalyze() public void CodeAnalyze()
{ {
// NOTICE:
// 如果 Visual Studio 遇到 “缺少 SKIT.FlurlHttpClient.Tools.CodeAnalyzer 包” 的错误,
// 请参考此 Issuehttps://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient/issues/8
Assert.Null(Record.Exception(() => Assert.Null(Record.Exception(() =>
{ {
var options = new TypeDeclarationAnalyzerOptions() var options = new TypeDeclarationAnalyzerOptions()