feat(tenpayv3): 新增从业机构微信支付分相关接口

This commit is contained in:
Fu Diwei
2023-03-31 17:21:45 +08:00
parent 770ee8d590
commit 6e1aeb0798
54 changed files with 1325 additions and 25 deletions

View File

@@ -17,7 +17,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2
public static WechatTenpayEvent DeserializeEvent(this WechatTenpayClient client, string callbackXml)
{
if (client == null) throw new ArgumentNullException(nameof(client));
if (string.IsNullOrEmpty(callbackXml)) throw new ArgumentNullException(callbackXml);
if (callbackXml == null) throw new ArgumentNullException(callbackXml);
string callbackJson = Utilities.XmlUtility.ConvertToJson(callbackXml);
return client.JsonSerializer.Deserialize<WechatTenpayEvent>(callbackJson);