mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-24 04:53:46 +08:00
feat(wxapi): 随官方更新视频号小店商品相关接口模型
This commit is contained in:
@@ -58,14 +58,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("detail_info")]
|
||||
public string Detail { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置国家码。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2023-11-20 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("national_code")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("national_code")]
|
||||
public string? NationalCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置电话号码。
|
||||
/// </summary>
|
||||
|
@@ -50,14 +50,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("detail_info")]
|
||||
public string? Detail { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置国家码。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2023-11-20 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("national_code")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("national_code")]
|
||||
public string? NationalCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收件人电话。
|
||||
/// </summary>
|
||||
|
@@ -53,14 +53,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("detail_info")]
|
||||
public string? Detail { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置国家码。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2023-11-20 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("national_code")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("national_code")]
|
||||
public string? NationalCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置电话号码。
|
||||
/// </summary>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
@@ -221,6 +222,23 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("after_sale_address_id")]
|
||||
public long? AftersaleAddressId { get; set; }
|
||||
}
|
||||
|
||||
public class Qualification
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置资质 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("qua_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("qua_id")]
|
||||
public long QualificationId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图片 URL 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("qua_url")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("qua_url")]
|
||||
public IList<string> PictureUrlList { get; set; } = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -288,12 +306,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public long? BrandId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置特殊资质图片媒体文件标识 ID 列表。
|
||||
/// 获取或设置商品资质图片媒体文件标识 ID 列表。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2024-04-29 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("qualifications")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("qualifications")]
|
||||
public IList<string>? QualificationPictureMediaIdList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品资质列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_qua_infos")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_qua_infos")]
|
||||
public IList<Types.Qualification>? ProductQualificationList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置发货方式。
|
||||
/// </summary>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
@@ -106,6 +107,10 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public class Aftersale : ChannelsECProductAddRequest.Types.Aftersale
|
||||
{
|
||||
}
|
||||
|
||||
public class Qualification : ChannelsECProductAddRequest.Types.Qualification
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -173,12 +178,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public long? BrandId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置特殊资质图片媒体文件标识 ID 列表。
|
||||
/// 获取或设置商品资质图片媒体文件标识 ID 列表。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2024-04-29 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("qualifications")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("qualifications")]
|
||||
public IList<string>? QualificationPictureMediaIdList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品资质列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_qua_infos")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_qua_infos")]
|
||||
public IList<Types.Qualification>? ProductQualificationList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置发货方式。
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user