feat(wxapi): 随官方更新微信小店获取纠纷单详情接口模型

This commit is contained in:
Fu Diwei
2025-05-06 16:03:12 +08:00
parent 398f535a65
commit 834b26339e
3 changed files with 42 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
@@ -131,6 +133,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// <summary>
/// 获取或设置联系电话。
/// </summary>
[Obsolete("相关接口或字段于 2025-04-14 下线。")]
[Newtonsoft.Json.JsonProperty("tel_number")]
[System.Text.Json.Serialization.JsonPropertyName("tel_number")]
public string? TelNumber { get; set; }

View File

@@ -1,3 +1,5 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
@@ -40,6 +42,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// <summary>
/// 获取或设置手机号码。
/// </summary>
[Obsolete("相关接口或字段于 2025-04-14 下线。")]
[Newtonsoft.Json.JsonProperty("phone_number")]
[System.Text.Json.Serialization.JsonPropertyName("phone_number")]
public string? PhoneNumber { get; set; }
@@ -65,6 +68,10 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("after_sale_reason")]
public int? AftersaleReasonType { get; set; }
}
public class VirualTelNumberInfo : ChannelsECAftersaleGetAftersaleOrderResponse.Types.AftersaleOrder.Types.VirualTelNumberInfo
{
}
}
/// <summary>
@@ -96,5 +103,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("status")]
[System.Text.Json.Serialization.JsonPropertyName("status")]
public int Status { get; set; }
/// <summary>
/// 获取或设置虚拟号码信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("virtual_tel_num_info")]
[System.Text.Json.Serialization.JsonPropertyName("virtual_tel_num_info")]
public Types.VirualTelNumberInfo? VirualTelNumberInfo { get; set; }
}
}

View File

@@ -131,11 +131,32 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public class ChangeSKUInfo
{
/// <summary>
/// 获取或设置发货前更换 SKU 是否成功
/// 获取或设置发货前更换 SKU 状态
/// </summary>
[Newtonsoft.Json.JsonProperty("preshipment_change_sku_success")]
[System.Text.Json.Serialization.JsonPropertyName("preshipment_change_sku_success")]
public bool IsPreshipmentChangeSKUSuccessful { get; set; }
[Newtonsoft.Json.JsonProperty("preshipment_change_sku_state")]
[System.Text.Json.Serialization.JsonPropertyName("preshipment_change_sku_state")]
public int IsPreshipmentChangeSKUSuccessful { get; set; }
/// <summary>
/// 获取或设置原 SKU ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("old_sku_id")]
[System.Text.Json.Serialization.JsonPropertyName("old_sku_id")]
public long OldSKUId { get; set; }
/// <summary>
/// 获取或设置新 SKU ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("new_sku_id")]
[System.Text.Json.Serialization.JsonPropertyName("new_sku_id")]
public long NewSKUId { get; set; }
/// <summary>
/// 获取或设置商家处理请求的最后时间戳。
/// </summary>
[Newtonsoft.Json.JsonProperty("ddl_time_stamp")]
[System.Text.Json.Serialization.JsonPropertyName("ddl_time_stamp")]
public long? DeadlineTimestamp { get; set; }
}
}