diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductAddRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductAddRequest.cs index 37c098ce..e0bf2f98 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductAddRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductAddRequest.cs @@ -115,6 +115,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonPropertyName("sku_code")] public string? SKUCode { get; set; } + /// + /// 获取或设置商品条形码。 + /// + [Newtonsoft.Json.JsonProperty("bar_code")] + [System.Text.Json.Serialization.JsonPropertyName("bar_code")] + public string? BarCode { get; set; } + /// /// 获取或设置商品属性列表。 /// 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 e79e5960..2bb75b29 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductGetResponse.cs @@ -128,6 +128,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonPropertyName("sku_code")] public string? SKUCode { get; set; } + /// + /// 获取或设置商品条形码。 + /// + [Newtonsoft.Json.JsonProperty("bar_code")] + [System.Text.Json.Serialization.JsonPropertyName("bar_code")] + public string? BarCode { get; set; } + /// /// 获取或设置商品属性列表。 /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductUpdateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductUpdateRequest.cs index f8403622..fbfd8bae 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductUpdateRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECProduct/ChannelsECProductUpdateRequest.cs @@ -77,6 +77,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonPropertyName("sku_code")] public string? SKUCode { get; set; } + /// + /// 获取或设置商品条形码。 + /// + [Newtonsoft.Json.JsonProperty("bar_code")] + [System.Text.Json.Serialization.JsonPropertyName("bar_code")] + public string? BarCode { get; set; } + /// /// 获取或设置商品属性列表。 ///