From 7546a02dfe44a0641af019184bc8c040e8717846 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Mon, 4 Nov 2024 20:10:21 +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=E8=A7=86=E9=A2=91=E5=8F=B7=E5=B0=8F=E5=BA=97?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ECProduct/ChannelsECProductGetResponse.cs | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductGetResponse.cs index 5ef93155..1fc6bbed 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductGetResponse.cs @@ -544,6 +544,32 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonPropertyName("size_chart")] public Types.SizeChart? SizeChart { get; set; } } + + public class SaleLimitInfo + { + /// + /// 获取或设置是否受到管控。 + /// + [Newtonsoft.Json.JsonProperty("is_limited")] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.NumericalBooleanConverter))] + [System.Text.Json.Serialization.JsonPropertyName("is_limited")] + [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))] + public bool IsLimited { get; set; } + + /// + /// 获取或设置售卖限制标题。 + /// + [Newtonsoft.Json.JsonProperty("title")] + [System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// 获取或设置售卖限制描述。 + /// + [Newtonsoft.Json.JsonProperty("sub_title")] + [System.Text.Json.Serialization.JsonPropertyName("sub_title")] + public string? SubTitle { get; set; } + } } /// @@ -559,5 +585,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [Newtonsoft.Json.JsonProperty("edit_product")] [System.Text.Json.Serialization.JsonPropertyName("edit_product")] public Types.Product? EditingProduct { get; set; } + + /// + /// 获取或设置当日售卖上限提醒信息。 + /// + [Newtonsoft.Json.JsonProperty("sale_limit_info")] + [System.Text.Json.Serialization.JsonPropertyName("sale_limit_info")] + public Types.SaleLimitInfo? SaleLimitInfo { get; set; } } }