diff --git a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Approval/SystemApprovalChangeEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Approval/SystemApprovalChangeEvent.cs
index c42861a4..67a82d9c 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Approval/SystemApprovalChangeEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Approval/SystemApprovalChangeEvent.cs
@@ -82,7 +82,7 @@
///
/// 获取或设置审批意见附件 MediaId 列表。
///
- [System.Xml.Serialization.XmlArrayItem("Attach", Type = typeof(string), IsNullable = true)]
+ [System.Xml.Serialization.XmlElement("Attach", Type = typeof(string), IsNullable = true)]
public string[]? SpeechMediaIdList { get; set; }
}
}
@@ -141,7 +141,7 @@
///
/// 获取或设置评论内容附件 MediaId 列表。
///
- [System.Xml.Serialization.XmlArrayItem("Attach", Type = typeof(string))]
+ [System.Xml.Serialization.XmlElement("Attach", Type = typeof(string))]
public string[] MediaIdList { get; set; } = default!;
///
@@ -197,19 +197,19 @@
///
/// 获取或设置抄送人列表。
///
- [System.Xml.Serialization.XmlArrayItem("Notifyer", Type = typeof(Types.Notifier))]
+ [System.Xml.Serialization.XmlElement("Notifyer", Type = typeof(Types.Notifier))]
public Types.Notifier[]? NotifyerList { get; set; }
///
/// 获取或设置审批流程列表。
///
- [System.Xml.Serialization.XmlArrayItem("SpRecord", Type = typeof(Types.Record))]
+ [System.Xml.Serialization.XmlElement("SpRecord", Type = typeof(Types.Record))]
public Types.Record[] RecordList { get; set; } = default!;
///
/// 获取或设置评论列表。
///
- [System.Xml.Serialization.XmlArrayItem("Comments", Type = typeof(Types.Comment))]
+ [System.Xml.Serialization.XmlElement("Comments", Type = typeof(Types.Comment))]
public Types.Comment[] CommentList { get; set; } = default!;
}
}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Contact/ChangeContactEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Contact/ChangeContactEvent.cs
index 07fbd88e..7b71e5d0 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Contact/ChangeContactEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Contact/ChangeContactEvent.cs
@@ -81,7 +81,7 @@
///
/// 获取或设置自定义字段列表。
///
- [System.Xml.Serialization.XmlArrayItem("Item", Type = typeof(Types.Attribute))]
+ [System.Xml.Serialization.XmlElement("Item", Type = typeof(Types.Attribute))]
public Types.Attribute[] AttributeList { get; set; } = default!;
}
}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Push/TemplateCardPushEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Push/TemplateCardPushEvent.cs
index e2b77819..f4eb393b 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Push/TemplateCardPushEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Push/TemplateCardPushEvent.cs
@@ -18,7 +18,7 @@
///
/// 获取或设置选项列表。
///
- [System.Xml.Serialization.XmlArrayItem("OpitonId", Type = typeof(string))]
+ [System.Xml.Serialization.XmlElement("OpitonId", Type = typeof(string))]
public string[] Items { get; set; } = default!;
}
}
@@ -41,7 +41,7 @@
///
/// 获取或设置下拉框列表。
///
- [System.Xml.Serialization.XmlArrayItem("SelectedItem", Type = typeof(SelectItem))]
+ [System.Xml.Serialization.XmlElement("SelectedItem", Type = typeof(SelectItem))]
public SelectItem[]? Items { get; set; } = default!;
}
}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Reply/NewsMessageReply.cs b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Reply/NewsMessageReply.cs
index 85fc0a3c..66c793dc 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Reply/NewsMessageReply.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/Reply/NewsMessageReply.cs
@@ -42,7 +42,7 @@
///
/// 获取或设置图文列表。
///
- [System.Xml.Serialization.XmlArrayItem("item", Type = typeof(ArticleItem))]
+ [System.Xml.Serialization.XmlElement("item", Type = typeof(ArticleItem))]
public ArticleItem[] Items { get; set; } = new ArticleItem[0];
}
}