From d8af757ad11166692d86cb4ae6abbce26204a23e Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Thu, 22 May 2025 12:33:36 +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=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=9B=B8=E5=85=B3=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 --- .../ECOrder/ChannelsECOrderGetResponse.cs | 47 ++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/ChannelsECOrderGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/ChannelsECOrderGetResponse.cs index a2ac2679..835206d4 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/ChannelsECOrderGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/ChannelsECOrderGetResponse.cs @@ -135,7 +135,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("preshipment_change_sku_state")] [System.Text.Json.Serialization.JsonPropertyName("preshipment_change_sku_state")] - public int IsPreshipmentChangeSKUSuccessful { get; set; } + public int PreshipmentChangeSKUState { get; set; } /// /// 获取或设置原 SKU ID。 @@ -1072,6 +1072,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [Newtonsoft.Json.JsonProperty("content_id")] [System.Text.Json.Serialization.JsonPropertyName("content_id")] public string? ContentId { get; set; } + + /// + /// 获取或设置自营推客推广的带货机构 ID。 + /// + [Newtonsoft.Json.JsonProperty("promoter_head_supplier_id")] + [System.Text.Json.Serialization.JsonPropertyName("promoter_head_supplier_id")] + public string? PromoterHeadSupplierId { get; set; } } public class Refund @@ -1107,6 +1114,37 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonPropertyName("greeting_message")] public string? GreetingMessage { get; set; } } + + public class CustomInfo + { + /// + /// 获取或设置定制类型。 + /// + [Newtonsoft.Json.JsonProperty("custom_type")] + [System.Text.Json.Serialization.JsonPropertyName("custom_type")] + public int CustomType { get; set; } + + /// + /// 获取或设置定制图片 URL。 + /// + [Newtonsoft.Json.JsonProperty("custom_img_url")] + [System.Text.Json.Serialization.JsonPropertyName("custom_img_url")] + public string? CustomImageUrl { get; set; } + + /// + /// 获取或设置定制预览图片 URL。 + /// + [Newtonsoft.Json.JsonProperty("custom_preview_img_url")] + [System.Text.Json.Serialization.JsonPropertyName("custom_preview_img_url")] + public string? CustomPreviewImageUrl { get; set; } + + /// + /// 获取或设置定制文字。 + /// + [Newtonsoft.Json.JsonProperty("custom_word")] + [System.Text.Json.Serialization.JsonPropertyName("custom_word")] + public string? CustomWord { get; set; } + } } /// @@ -1206,6 +1244,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [Newtonsoft.Json.JsonProperty("greeting_card_info")] [System.Text.Json.Serialization.JsonPropertyName("greeting_card_info")] public Types.GreetingCard? GreetingCard { get; set; } + + /// + /// 获取或设置商品定制信息。 + /// + [Newtonsoft.Json.JsonProperty("custom_info")] + [System.Text.Json.Serialization.JsonPropertyName("custom_info")] + public Types.CustomInfo? CustomInfo { get; set; } } public class AftersaleDetail