From 0a766f01a6c2a88e491dc40cecc5f4b0d1abdc75 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Sun, 4 Jan 2026 20:13:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(wxapi):=20=E9=9A=8F=E5=AE=98=E6=96=B9?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BE=AE=E4=BF=A1=E5=B0=8F=E5=BA=97=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=AE=A2=E5=8D=95=E7=89=A9=E6=B5=81=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...hannelsECOrderDeliveryInfoUpdateRequest.cs | 62 ++++++++++++++++++- 1 file changed, 60 insertions(+), 2 deletions(-) diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/Delivery/ChannelsECOrderDeliveryInfoUpdateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/Delivery/ChannelsECOrderDeliveryInfoUpdateRequest.cs index 408b8e86..5f81ccca 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/Delivery/ChannelsECOrderDeliveryInfoUpdateRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/Delivery/ChannelsECOrderDeliveryInfoUpdateRequest.cs @@ -46,6 +46,57 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonPropertyName("product_infos")] public IList ProductList { get; set; } = new List(); } + + public class ChangeInfo + { + public static class Types + { + public class Delivery + { + public static class Types + { + public class Product : ChannelsECOrderDeliverySendRequest.Types.Delivery.Types.Product + { + } + } + + /// + /// 获取或设置快递公司 ID。 + /// + [Newtonsoft.Json.JsonProperty("delivery_id")] + [System.Text.Json.Serialization.JsonPropertyName("delivery_id")] + public string DeliveryId { get; set; } = string.Empty; + + /// + /// 获取或设置快递单号。 + /// + [Newtonsoft.Json.JsonProperty("waybill_id")] + [System.Text.Json.Serialization.JsonPropertyName("waybill_id")] + public string WaybillId { get; set; } = string.Empty; + + /// + /// 获取或设置商品列表。 + /// + [Newtonsoft.Json.JsonProperty("product_infos")] + [System.Text.Json.Serialization.JsonPropertyName("product_infos")] + public IList ProductList { get; set; } = new List(); + } + } + + /// + /// 获取或设置包裹原物流信息。 + /// + [Newtonsoft.Json.JsonProperty("old")] + [System.Text.Json.Serialization.JsonPropertyName("old")] + public Types.Delivery Old { get; set; } = new Types.Delivery(); + + /// + /// 获取或设置包裹新物流信息。 + /// + [Newtonsoft.Json.JsonProperty("new")] + [System.Text.Json.Serialization.JsonPropertyName("new")] + public Types.Delivery New { get; set; } = new Types.Delivery(); + } } /// @@ -56,10 +107,17 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models public string OrderId { get; set; } = string.Empty; /// - /// 获取或设置快递列表。 + /// 获取或设置整单物流信息列表。 /// [Newtonsoft.Json.JsonProperty("delivery_list")] [System.Text.Json.Serialization.JsonPropertyName("delivery_list")] - public IList DeliveryList { get; set; } = new List(); + public IList? DeliveryList { get; set; } + + /// + /// 获取或设置更新包裹物流信息列表。 + /// + [Newtonsoft.Json.JsonProperty("change_infos")] + [System.Text.Json.Serialization.JsonPropertyName("change_infos")] + public IList? ChangeInfoList { get; set; } } }