mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-16 16:50:43 +08:00
feat(wxapi): 随官方更新微信小店商品相关接口模型
This commit is contained in:
parent
424ddecfe2
commit
229c91aaba
@ -1291,6 +1291,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
|||||||
/// <param name="request"></param>
|
/// <param name="request"></param>
|
||||||
/// <param name="cancellationToken"></param>
|
/// <param name="cancellationToken"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||||
public static async Task<Models.ChannelsECCategoryAvailableSonCategoriesGetResponse> ExecuteChannelsECCategoryAvailableSonCategoriesGetAsync(this WechatApiClient client, Models.ChannelsECCategoryAvailableSonCategoriesGetRequest request, CancellationToken cancellationToken = default)
|
public static async Task<Models.ChannelsECCategoryAvailableSonCategoriesGetResponse> ExecuteChannelsECCategoryAvailableSonCategoriesGetAsync(this WechatApiClient client, Models.ChannelsECCategoryAvailableSonCategoriesGetRequest request, CancellationToken cancellationToken = default)
|
||||||
{
|
{
|
||||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||||
@ -1339,6 +1340,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
|||||||
/// <param name="request"></param>
|
/// <param name="request"></param>
|
||||||
/// <param name="cancellationToken"></param>
|
/// <param name="cancellationToken"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||||
public static async Task<Models.ChannelsECCategoryAuditGetResponse> ExecuteChannelsECCategoryAuditGetAsync(this WechatApiClient client, Models.ChannelsECCategoryAuditGetRequest request, CancellationToken cancellationToken = default)
|
public static async Task<Models.ChannelsECCategoryAuditGetResponse> ExecuteChannelsECCategoryAuditGetAsync(this WechatApiClient client, Models.ChannelsECCategoryAuditGetRequest request, CancellationToken cancellationToken = default)
|
||||||
{
|
{
|
||||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||||
@ -1387,6 +1389,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
|||||||
/// <param name="request"></param>
|
/// <param name="request"></param>
|
||||||
/// <param name="cancellationToken"></param>
|
/// <param name="cancellationToken"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||||
public static async Task<Models.ChannelsECCategoryListGetResponse> ExecuteChannelsECCategoryListGetAsync(this WechatApiClient client, Models.ChannelsECCategoryListGetRequest request, CancellationToken cancellationToken = default)
|
public static async Task<Models.ChannelsECCategoryListGetResponse> ExecuteChannelsECCategoryListGetAsync(this WechatApiClient client, Models.ChannelsECCategoryListGetRequest request, CancellationToken cancellationToken = default)
|
||||||
{
|
{
|
||||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
using System;
|
||||||
|
|
||||||
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /channels/ec/category/audit/get 接口的请求。</para>
|
/// <para>表示 [POST] /channels/ec/category/audit/get 接口的请求。</para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||||
public class ChannelsECCategoryAuditGetRequest : WechatApiRequest, IInferable<ChannelsECCategoryAuditGetRequest, ChannelsECCategoryAuditGetResponse>
|
public class ChannelsECCategoryAuditGetRequest : WechatApiRequest, IInferable<ChannelsECCategoryAuditGetRequest, ChannelsECCategoryAuditGetResponse>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
using System;
|
||||||
|
|
||||||
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /channels/ec/category/audit/get 接口的响应。</para>
|
/// <para>表示 [POST] /channels/ec/category/audit/get 接口的响应。</para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||||
public class ChannelsECCategoryAuditGetResponse : WechatApiResponse
|
public class ChannelsECCategoryAuditGetResponse : WechatApiResponse
|
||||||
{
|
{
|
||||||
public static class Types
|
public static class Types
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
using System;
|
||||||
|
|
||||||
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /channels/ec/category/availablesoncategories/get 接口的请求。</para>
|
/// <para>表示 [POST] /channels/ec/category/availablesoncategories/get 接口的请求。</para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||||
public class ChannelsECCategoryAvailableSonCategoriesGetRequest : WechatApiRequest, IInferable<ChannelsECCategoryAvailableSonCategoriesGetRequest, ChannelsECCategoryAvailableSonCategoriesGetResponse>
|
public class ChannelsECCategoryAvailableSonCategoriesGetRequest : WechatApiRequest, IInferable<ChannelsECCategoryAvailableSonCategoriesGetRequest, ChannelsECCategoryAvailableSonCategoriesGetResponse>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -5,6 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /channels/ec/category/availablesoncategories/get 接口的响应。</para>
|
/// <para>表示 [POST] /channels/ec/category/availablesoncategories/get 接口的响应。</para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||||
public class ChannelsECCategoryAvailableSonCategoriesGetResponse : WechatApiResponse
|
public class ChannelsECCategoryAvailableSonCategoriesGetResponse : WechatApiResponse
|
||||||
{
|
{
|
||||||
public static class Types
|
public static class Types
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [GET] /channels/ec/category/list/get 接口的请求。</para>
|
/// <para>表示 [GET] /channels/ec/category/list/get 接口的请求。</para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||||
public class ChannelsECCategoryListGetRequest : WechatApiRequest, IInferable<ChannelsECCategoryListGetRequest, ChannelsECCategoryListGetResponse>
|
public class ChannelsECCategoryListGetRequest : WechatApiRequest, IInferable<ChannelsECCategoryListGetRequest, ChannelsECCategoryListGetResponse>
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [GET] /channels/ec/category/list/get 接口的响应。</para>
|
/// <para>表示 [GET] /channels/ec/category/list/get 接口的响应。</para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||||
public class ChannelsECCategoryListGetResponse : WechatApiResponse
|
public class ChannelsECCategoryListGetResponse : WechatApiResponse
|
||||||
{
|
{
|
||||||
public static class Types
|
public static class Types
|
||||||
|
@ -354,10 +354,18 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商品副标题。
|
/// 获取或设置商品副标题。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||||
[Newtonsoft.Json.JsonProperty("sub_title")]
|
[Newtonsoft.Json.JsonProperty("sub_title")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("sub_title")]
|
[System.Text.Json.Serialization.JsonPropertyName("sub_title")]
|
||||||
public string? SubTitle { get; set; }
|
public string? SubTitle { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商品短标题。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("short_title")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("short_title")]
|
||||||
|
public string? ShortTitle { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置主图 URL 列表。
|
/// 获取或设置主图 URL 列表。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -383,10 +383,18 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商品副标题。
|
/// 获取或设置商品副标题。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||||
[Newtonsoft.Json.JsonProperty("sub_title")]
|
[Newtonsoft.Json.JsonProperty("sub_title")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("sub_title")]
|
[System.Text.Json.Serialization.JsonPropertyName("sub_title")]
|
||||||
public string? SubTitle { get; set; }
|
public string? SubTitle { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商品短标题。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("short_title")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("short_title")]
|
||||||
|
public string? ShortTitle { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置主图 URL 列表。
|
/// 获取或设置主图 URL 列表。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -146,10 +146,18 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商品副标题。
|
/// 获取或设置商品副标题。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||||
[Newtonsoft.Json.JsonProperty("sub_title")]
|
[Newtonsoft.Json.JsonProperty("sub_title")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("sub_title")]
|
[System.Text.Json.Serialization.JsonPropertyName("sub_title")]
|
||||||
public string? SubTitle { get; set; }
|
public string? SubTitle { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商品短标题。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("short_title")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("short_title")]
|
||||||
|
public string? ShortTitle { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置主图 URL 列表。
|
/// 获取或设置主图 URL 列表。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"audit_id": "123456"
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"errcode": 0,
|
|
||||||
"errmsg": "ok",
|
|
||||||
"data": {
|
|
||||||
"status": 9,
|
|
||||||
"reject_reason": "请重新提交审核"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"f_cat_id": 0
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
{
|
|
||||||
"errcode": 0,
|
|
||||||
"errmsg": "ok",
|
|
||||||
"cat_list": [
|
|
||||||
{
|
|
||||||
"cat_id": 1,
|
|
||||||
"f_cat_id": 0,
|
|
||||||
"name": "服饰"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cat_id": 2,
|
|
||||||
"f_cat_id": 0,
|
|
||||||
"name": "鞋帽"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cat_list_v2": [
|
|
||||||
{
|
|
||||||
"cat_id": 1,
|
|
||||||
"f_cat_id": 0,
|
|
||||||
"name": "服饰",
|
|
||||||
"leaf": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cat_id": 2,
|
|
||||||
"f_cat_id": 0,
|
|
||||||
"name": "鞋帽",
|
|
||||||
"leaf": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cat_id": 3,
|
|
||||||
"f_cat_id": 0,
|
|
||||||
"name": "生鲜水产",
|
|
||||||
"leaf": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"errcode": 0,
|
|
||||||
"errmsg": "ok",
|
|
||||||
"list": [
|
|
||||||
{
|
|
||||||
"cat_id": "1003",
|
|
||||||
"qua_id": "0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cat_id": "1096",
|
|
||||||
"qua_id": "6"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"title": "任天堂 Nintendo Switch 国行续航增强版 NS家用体感游戏机掌机 便携掌上游戏机 红蓝主机",
|
"title": "任天堂 Nintendo Switch 国行续航增强版 NS家用体感游戏机掌机 便携掌上游戏机 红蓝主机",
|
||||||
"sub_title": "随时随地,一起趣玩。",
|
"short_title": "随时随地,一起趣玩。",
|
||||||
"head_imgs": [
|
"head_imgs": [
|
||||||
"https://mmecimage.cn/p/wx37f38d59298839c3/HJE9eJaEc5bJk-eaArVdILSB7MMaHgdK2-JIn51nMQ"
|
"https://mmecimage.cn/p/wx37f38d59298839c3/HJE9eJaEc5bJk-eaArVdILSB7MMaHgdK2-JIn51nMQ"
|
||||||
],
|
],
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"product_id": "123456789",
|
"product_id": "123456789",
|
||||||
"out_product_id": "OUT_PRODUCT_ID_TEST",
|
"out_product_id": "OUT_PRODUCT_ID_TEST",
|
||||||
"title": "任天堂 Nintendo Switch 国行续航增强版",
|
"title": "任天堂 Nintendo Switch 国行续航增强版",
|
||||||
"sub_title": "【国行Switch,更安心的保修服务,更快的国行服务器】一台主机三种模式,游戏掌机,随时随地,一起趣玩",
|
"short_title": "【国行Switch,更安心的保修服务,更快的国行服务器】一台主机三种模式,游戏掌机,随时随地,一起趣玩",
|
||||||
"head_imgs": [
|
"head_imgs": [
|
||||||
"https://mmecimage.cn/p/wx37f38d59298839c3/HJE9eJaEc5bJk-eaArVdILSB7MMaHgdK2-JIn51nMQ"
|
"https://mmecimage.cn/p/wx37f38d59298839c3/HJE9eJaEc5bJk-eaArVdILSB7MMaHgdK2-JIn51nMQ"
|
||||||
],
|
],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"product_id": "10000000089215",
|
"product_id": "10000000089215",
|
||||||
"title": "任天堂 Nintendo Switch 国行续航增强版 NS家用体感游戏机掌机 便携掌上游戏机 红蓝主机",
|
"title": "任天堂 Nintendo Switch 国行续航增强版 NS家用体感游戏机掌机 便携掌上游戏机 红蓝主机",
|
||||||
"sub_title": "随时随地,一起趣玩。【更新】",
|
"short_title": "随时随地,一起趣玩。【更新】",
|
||||||
"head_imgs": [
|
"head_imgs": [
|
||||||
"https://mmecimage.cn/p/wx37f38d59298839c3/HJE9eJaEc5bJk-eaArVdILSB7MMaHgdK2-JIn51nMQ"
|
"https://mmecimage.cn/p/wx37f38d59298839c3/HJE9eJaEc5bJk-eaArVdILSB7MMaHgdK2-JIn51nMQ"
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user