mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 01:44:42 +08:00
feat(wxapi): 随官方更新微信小店售后单相关接口模型
This commit is contained in:
@@ -497,6 +497,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-10-09 下线。")]
|
||||
public static async Task<Models.ChannelsECAftersaleGetPresentAftersaleListResponse> ExecuteChannelsECAftersaleGetPresentAftersaleListAsync(this WechatApiClient client, Models.ChannelsECAftersaleGetPresentAftersaleListRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
@@ -520,6 +521,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-10-09 下线。")]
|
||||
public static async Task<Models.ChannelsECAftersaleGetPresentAftersaleOrderResponse> ExecuteChannelsECAftersaleGetPresentAftersaleOrderAsync(this WechatApiClient client, Models.ChannelsECAftersaleGetPresentAftersaleOrderRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
@@ -6793,7 +6795,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
|
||||
IFlurlRequest flurlReq = client
|
||||
.CreateFlurlRequest(request, HttpMethod.Get, "channels", "ec", "qic", "inspect", "submitconfig", "get")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
.SetQueryParam("access_token", request.AccessToken)
|
||||
.SetQueryParam("order_id", request.OrderId);
|
||||
|
||||
return await client.SendFlurlRequestAsJsonAsync<Models.ChannelsECQICInspectSubmitConfigGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
@@ -161,6 +161,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[Newtonsoft.Json.JsonProperty("refund_reason")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("refund_reason")]
|
||||
public int? RefundReasonType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置平台优惠退款金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("platform_discount_return_amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("platform_discount_return_amount")]
|
||||
public int? PlatformDiscountReturnAmount { get; set; }
|
||||
}
|
||||
|
||||
public class Return
|
||||
@@ -355,6 +362,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("type")]
|
||||
public string Type { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置售后单子类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sub_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sub_type")]
|
||||
public string? SubType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置售后单状态。
|
||||
/// </summary>
|
||||
@@ -474,6 +488,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("virtual_tel_num_info")]
|
||||
public Types.VirualTelNumberInfo? VirualTelNumberInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商责额外赔付金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("compensation_liability_amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("compensation_liability_amount")]
|
||||
public int? CompensationLiabilityAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置更新时间戳。
|
||||
/// </summary>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/aftersale/getpresentaftersalelist 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-10-09 下线。")]
|
||||
public class ChannelsECAftersaleGetPresentAftersaleListRequest : WechatApiRequest, IInferable<ChannelsECAftersaleGetPresentAftersaleListRequest, ChannelsECAftersaleGetPresentAftersaleListResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/aftersale/getpresentaftersalelist 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-10-09 下线。")]
|
||||
public class ChannelsECAftersaleGetPresentAftersaleListResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/aftersale/getpresentaftersaleorder 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-10-09 下线。")]
|
||||
public class ChannelsECAftersaleGetPresentAftersaleOrderRequest : WechatApiRequest, IInferable<ChannelsECAftersaleGetPresentAftersaleOrderRequest, ChannelsECAftersaleGetPresentAftersaleOrderResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/aftersale/getpresentaftersaleorder 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-10-09 下线。")]
|
||||
public class ChannelsECAftersaleGetPresentAftersaleOrderResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
||||
Reference in New Issue
Block a user