mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-24 13:03:43 +08:00
feat(wxapi): 随官方更新视频号小店商品相关接口模型
This commit is contained in:
@@ -61,6 +61,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[Newtonsoft.Json.JsonProperty("template_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("template_id")]
|
||||
public long TemplateId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品重量(单位:克)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("weight")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("weight")]
|
||||
public int? Weight { get; set; }
|
||||
}
|
||||
|
||||
public class SKU
|
||||
|
@@ -65,6 +65,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("template_id")]
|
||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||
public long TemplateId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品重量(单位:克)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("weight")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("weight")]
|
||||
public int? Weight { get; set; }
|
||||
}
|
||||
|
||||
public class SKU
|
||||
|
@@ -32,7 +32,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_id")]
|
||||
public long SKUId { get; set; }
|
||||
public long? SKUId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商家自定义 SKU ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("out_sku_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("out_sku_id")]
|
||||
public string? OutSKUId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置缩略图 URL。
|
||||
|
Reference in New Issue
Block a user