mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-20 10:38:10 +08:00
feat(wxapi): 随官方更新微信小店商品分类相关接口模型
This commit is contained in:
@@ -24,6 +24,70 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
public long CategoryId { get; set; }
|
public long CategoryId { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class LicenseGroup
|
||||||
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class License
|
||||||
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class Field
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置字段键。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("key")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("key")]
|
||||||
|
public string Key { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置字段值。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("value")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("value")]
|
||||||
|
public string Value { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置证照 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("license_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("license_id")]
|
||||||
|
public long LicenseId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置证照图片文件 ID 列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("file_id_list")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("file_id_list")]
|
||||||
|
public IList<string>? FileIdList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置证照字段列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("license_field_list")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("license_field_list")]
|
||||||
|
public IList<Types.Field>? FieldList { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置证照组 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("license_group_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("license_group_id")]
|
||||||
|
public long LicenseGroupId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置证照信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("license")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("license")]
|
||||||
|
public Types.License License { get; set; } = new Types.License();
|
||||||
|
}
|
||||||
|
|
||||||
public class Brand
|
public class Brand
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -67,11 +131,81 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
public IList<Types.Category>? CategoryV2List { get; set; }
|
public IList<Types.Category>? CategoryV2List { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置资质材料图片 MediaId 列表。
|
/// 获取或设置是否为新版证照组申请。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("is_new_apply_cat")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("is_new_apply_cat")]
|
||||||
|
public bool? IsNewApplyCategory { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置资质材料图片文件 ID 列表。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("certificate")]
|
[Newtonsoft.Json.JsonProperty("certificate")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("certificate")]
|
[System.Text.Json.Serialization.JsonPropertyName("certificate")]
|
||||||
public IList<string>? CertificateMediaIdList { get; set; }
|
public IList<string>? CertificateFileIdList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置报备函文件 ID 列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("baobeihan")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("baobeihan")]
|
||||||
|
public IList<string>? BaobeihanFileIdList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置资质材料图片文件 ID 列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("jingyingzhengming")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("jingyingzhengming")]
|
||||||
|
public IList<string>? JingyingzhengmingFileIdList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置带货口碑图片文件 ID 列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("daihuokoubei")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("daihuokoubei")]
|
||||||
|
public IList<string>? DaihuokoubeiFileIdList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置入住资质图片文件 ID 列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("ruzhuzhizhi")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("ruzhuzhizhi")]
|
||||||
|
public IList<string>? RuzhuzizhiFileIdList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置经营流水图片文件 ID 列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("jingyingliushui")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("jingyingliushui")]
|
||||||
|
public IList<string>? JingyingliushuiFileIdList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置补充材料图片文件 ID 列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("buchongcailiao")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("buchongcailiao")]
|
||||||
|
public IList<string>? BuchongcailiaoFileIdList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置经营平台。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("jingyingpingtai")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("jingyingpingtai")]
|
||||||
|
public string? Jingyingpingtai { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置账号名称。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("zhanghaomingcheng")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("zhanghaomingcheng")]
|
||||||
|
public string? Zhanghaomingcheng { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置证照组列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("license_group_list")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("license_group_list")]
|
||||||
|
public IList<Types.LicenseGroup>? LicenseGroupList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置品牌列表。
|
/// 获取或设置品牌列表。
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
{
|
{
|
||||||
"category_info": {
|
"category_info": {
|
||||||
"level1": 7419,
|
|
||||||
"level2": 7439,
|
|
||||||
"level3": 7448,
|
|
||||||
"cats_v2": [
|
"cats_v2": [
|
||||||
{
|
{
|
||||||
"cat_id": 6033
|
"cat_id": 6033
|
||||||
@@ -17,10 +14,26 @@
|
|||||||
"cat_id": 6093
|
"cat_id": 6093
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"is_new_apply_cat": true,
|
||||||
"certificate": [
|
"certificate": [
|
||||||
"THE_MEDIA_ID_1",
|
"THE_MEDIA_ID_1",
|
||||||
"THE_MEDIA_ID_2"
|
"THE_MEDIA_ID_2"
|
||||||
],
|
],
|
||||||
|
"license_group_list": [
|
||||||
|
{
|
||||||
|
"license_group_id": 123,
|
||||||
|
"license": {
|
||||||
|
"license_id": 123,
|
||||||
|
"file_id_list": [ "THE_FILE_ID_1" ],
|
||||||
|
"license_field_list": [
|
||||||
|
{
|
||||||
|
"key": "",
|
||||||
|
"value": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"brand_list": [
|
"brand_list": [
|
||||||
{ "brand_id": 1001 },
|
{ "brand_id": 1001 },
|
||||||
{ "brand_id": 1002 }
|
{ "brand_id": 1002 }
|
||||||
|
Reference in New Issue
Block a user