mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
fix(wxapi): 修复部分微信回调通知事件模型的序列化错误
This commit is contained in:
@@ -221,11 +221,11 @@ namespace SKIT.FlurlHttpClient.Wechat
|
||||
{
|
||||
using StringReader reader = new StringReader(xml);
|
||||
XmlSerializer xmlSerializer = new XmlSerializer(type, new XmlRootAttribute("xml"));
|
||||
xmlSerializer.Deserialize(reader);
|
||||
var obj = xmlSerializer.Deserialize(reader);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
exception = new Exception($"XML 反序列化 `{type.Name}` 遇到问题。", ex);
|
||||
lstError.Add(new Exception($"XML 反序列化 `{type.Name}` 遇到问题。", ex));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user