mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 18:04:42 +08:00
feat(tenpayv3): 新增从业机构微信支付分相关接口
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user