mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-21 02:58:06 +08:00
fix(wxapi): 修复部分微信回调通知事件模型的序列化错误
This commit is contained in:
@@ -11,8 +11,31 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
public new static class Types
|
||||
{
|
||||
public class EventData : BetaAppAuthorizationApplyEvent.Types.EventData
|
||||
public class EventData
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置小程序的 AppId。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("appid")]
|
||||
public string MiniProgramAppId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置公众号的 AppId。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("mp_appid")]
|
||||
public string MediaPlatformAppId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置错误码。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("status")]
|
||||
public int ErrorCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置错误信息。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("msg")]
|
||||
public string? ErrorMessage { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user