mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-24 21:13:47 +08:00
feat(wxapi): 新增视频号小店获取售后原因、售后拒绝原因等接口
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/aftersale/reason/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECAftersaleReasonGetRequest : WechatApiRequest, IInferable<ChannelsECAftersaleReasonGetRequest, ChannelsECAftersaleReasonGetResponse>
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,35 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/aftersale/reason/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECAftersaleReasonGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Reason
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置售后原因。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("reason")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("reason")]
|
||||
public string ReasonType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置售后原因说明。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("reason_text")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("reason_text")]
|
||||
public string ReasonText { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置售后原因列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("reason_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("reason_list")]
|
||||
public Types.Reason[] ReasonList { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/aftersale/rejectreason/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECAftersaleRejectReasonGetRequest : WechatApiRequest, IInferable<ChannelsECAftersaleRejectReasonGetRequest, ChannelsECAftersaleRejectReasonGetResponse>
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,42 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/aftersale/rejectreason/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECAftersaleRejectReasonGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class RejectReason
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置售后拒绝原因。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("reject_reason_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("reject_reason_type")]
|
||||
public int RejectReasonType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置售后拒绝原因说明。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("reject_reason_type_text")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("reject_reason_type_text")]
|
||||
public string RejectReasonText { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置售后拒绝原因默认描述。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("reject_reason")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("reject_reason")]
|
||||
public string? RejectReasonDescription { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置售后拒绝原因列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("reason_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("reason_list")]
|
||||
public Types.RejectReason[] RejectReasonList { get; set; } = default!;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user