From 288a29e25478484bd2962a0f1f461ba803097873 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Tue, 10 Feb 2026 18:13:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(work):=20=E9=9A=8F=E5=AE=98=E6=96=B9?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=8E=B7=E5=AE=A2=E5=8A=A9=E6=89=8B=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E5=9B=9E=E8=B0=83=E9=80=9A=E7=9F=A5=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomerAcquisitionEvent.cs | 16 ++++++++++++++++ .../ChangeExternalContactEvent.cs | 8 ++++++++ 2 files changed, 24 insertions(+) diff --git a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/CustomerAcquisition/CustomerAcquisitionEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/CustomerAcquisition/CustomerAcquisitionEvent.cs index d7a74c9f..b13d8352 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/CustomerAcquisition/CustomerAcquisitionEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/CustomerAcquisition/CustomerAcquisitionEvent.cs @@ -9,6 +9,22 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Events /// public class CustomerAcquisitionEvent : WechatWorkEvent { + /// + /// 获取或设置第三方应用的 SuiteId。 + /// + [Newtonsoft.Json.JsonProperty("SuiteId")] + [System.Text.Json.Serialization.JsonPropertyName("SuiteId")] + [System.Xml.Serialization.XmlElement("SuiteId", IsNullable = true)] + public string? SuiteId { get; set; } + + /// + /// 获取或设置授权方的 CorpId。 + /// + [Newtonsoft.Json.JsonProperty("AuthCorpId")] + [System.Text.Json.Serialization.JsonPropertyName("AuthCorpId")] + [System.Xml.Serialization.XmlElement("AuthCorpId", IsNullable = true)] + public string? AuthorizerCorpId { get; set; } + /// /// 获取或设置变更类型。 /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/ExternalContact/ChangeExternalContactEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/ExternalContact/ChangeExternalContactEvent.cs index 06cdc6da..9999c8c8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Work/Events/ExternalContact/ChangeExternalContactEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Work/Events/ExternalContact/ChangeExternalContactEvent.cs @@ -35,6 +35,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Events [System.Xml.Serialization.XmlElement("ChangeType")] public string ChangeType { get; set; } = default!; + /// + /// 获取或设置获客链接 ID。 + /// + [Newtonsoft.Json.JsonProperty("LinkId")] + [System.Text.Json.Serialization.JsonPropertyName("LinkId")] + [System.Xml.Serialization.XmlElement("LinkId", IsNullable = true)] + public string? LinkId { get; set; } + /// /// 获取或设置用户成员账号。 ///