feat(tenpayv2): 升级公共组件

This commit is contained in:
Fu Diwei
2024-01-30 23:01:06 +08:00
committed by RHQYZ
parent a6763ca683
commit bf39f8dd83
121 changed files with 1350 additions and 1691 deletions

View File

@@ -1,4 +1,4 @@
using Xunit;
using Xunit;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests
{
@@ -11,7 +11,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests
string merchantId = "10000100";
string merchantSecret = "192006250b4c09247ec02edce69f6a2d";
var client = new WechatTenpayClient(merchantId, merchantSecret);
var client = new WechatTenpayClient(new WechatTenpayClientOptions() { MerchantId = merchantId, MerchantSecret = merchantSecret });
Assert.True(client.VerifyEventSignature(callbackXml));
}
}