mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(wxapi): 随官方更新微信小店商品相关接口模型
This commit is contained in:
@@ -1291,6 +1291,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||
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));
|
||||
@@ -1339,6 +1340,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||
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));
|
||||
@@ -1387,6 +1389,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||
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));
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/category/audit/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||
public class ChannelsECCategoryAuditGetRequest : WechatApiRequest, IInferable<ChannelsECCategoryAuditGetRequest, ChannelsECCategoryAuditGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/category/audit/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||
public class ChannelsECCategoryAuditGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/category/availablesoncategories/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||
public class ChannelsECCategoryAvailableSonCategoriesGetRequest : WechatApiRequest, IInferable<ChannelsECCategoryAvailableSonCategoriesGetRequest, ChannelsECCategoryAvailableSonCategoriesGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -5,6 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/category/availablesoncategories/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||
public class ChannelsECCategoryAvailableSonCategoriesGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /channels/ec/category/list/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||
public class ChannelsECCategoryListGetRequest : WechatApiRequest, IInferable<ChannelsECCategoryListGetRequest, ChannelsECCategoryListGetResponse>
|
||||
{
|
||||
}
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /channels/ec/category/list/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-07-01 下线。")]
|
||||
public class ChannelsECCategoryListGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
||||
@@ -354,10 +354,18 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
/// <summary>
|
||||
/// 获取或设置商品副标题。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("sub_title")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sub_title")]
|
||||
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>
|
||||
/// 获取或设置主图 URL 列表。
|
||||
/// </summary>
|
||||
|
||||
@@ -383,10 +383,18 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
/// <summary>
|
||||
/// 获取或设置商品副标题。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("sub_title")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sub_title")]
|
||||
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>
|
||||
/// 获取或设置主图 URL 列表。
|
||||
/// </summary>
|
||||
|
||||
@@ -146,10 +146,18 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
/// <summary>
|
||||
/// 获取或设置商品副标题。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("sub_title")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sub_title")]
|
||||
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>
|
||||
/// 获取或设置主图 URL 列表。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user