Skip to content

Commit 834b263

Browse files
committed
feat(wxapi): 随官方更新微信小店获取纠纷单详情接口模型
1 parent 398f535 commit 834b263

File tree

3 files changed

+42
-4
lines changed

3 files changed

+42
-4
lines changed

src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECAftersale/ChannelsECAftersaleGetAftersaleOrderResponse.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using System;
2+
13
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
24
{
35
/// <summary>
@@ -131,6 +133,7 @@ public class AftersaleDetail
131133
/// <summary>
132134
/// 获取或设置联系电话。
133135
/// </summary>
136+
[Obsolete("相关接口或字段于 2025-04-14 下线。")]
134137
[Newtonsoft.Json.JsonProperty("tel_number")]
135138
[System.Text.Json.Serialization.JsonPropertyName("tel_number")]
136139
public string? TelNumber { get; set; }

src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECAftersale/Complaint/ChannelsECAftersaleGetComplaintOrderResponse.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using System;
2+
13
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
24
{
35
/// <summary>
@@ -40,6 +42,7 @@ public class ComplaintHistory
4042
/// <summary>
4143
/// 获取或设置手机号码。
4244
/// </summary>
45+
[Obsolete("相关接口或字段于 2025-04-14 下线。")]
4346
[Newtonsoft.Json.JsonProperty("phone_number")]
4447
[System.Text.Json.Serialization.JsonPropertyName("phone_number")]
4548
public string? PhoneNumber { get; set; }
@@ -65,6 +68,10 @@ public class ComplaintHistory
6568
[System.Text.Json.Serialization.JsonPropertyName("after_sale_reason")]
6669
public int? AftersaleReasonType { get; set; }
6770
}
71+
72+
public class VirualTelNumberInfo : ChannelsECAftersaleGetAftersaleOrderResponse.Types.AftersaleOrder.Types.VirualTelNumberInfo
73+
{
74+
}
6875
}
6976

7077
/// <summary>
@@ -96,5 +103,12 @@ public class ComplaintHistory
96103
[Newtonsoft.Json.JsonProperty("status")]
97104
[System.Text.Json.Serialization.JsonPropertyName("status")]
98105
public int Status { get; set; }
106+
107+
/// <summary>
108+
/// 获取或设置虚拟号码信息。
109+
/// </summary>
110+
[Newtonsoft.Json.JsonProperty("virtual_tel_num_info")]
111+
[System.Text.Json.Serialization.JsonPropertyName("virtual_tel_num_info")]
112+
public Types.VirualTelNumberInfo? VirualTelNumberInfo { get; set; }
99113
}
100114
}

src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/ChannelsECOrderGetResponse.cs

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,32 @@ public class Voucher
131131
public class ChangeSKUInfo
132132
{
133133
/// <summary>
134-
/// 获取或设置发货前更换 SKU 是否成功
134+
/// 获取或设置发货前更换 SKU 状态
135135
/// </summary>
136-
[Newtonsoft.Json.JsonProperty("preshipment_change_sku_success")]
137-
[System.Text.Json.Serialization.JsonPropertyName("preshipment_change_sku_success")]
138-
public bool IsPreshipmentChangeSKUSuccessful { get; set; }
136+
[Newtonsoft.Json.JsonProperty("preshipment_change_sku_state")]
137+
[System.Text.Json.Serialization.JsonPropertyName("preshipment_change_sku_state")]
138+
public int IsPreshipmentChangeSKUSuccessful { get; set; }
139+
140+
/// <summary>
141+
/// 获取或设置原 SKU ID。
142+
/// </summary>
143+
[Newtonsoft.Json.JsonProperty("old_sku_id")]
144+
[System.Text.Json.Serialization.JsonPropertyName("old_sku_id")]
145+
public long OldSKUId { get; set; }
146+
147+
/// <summary>
148+
/// 获取或设置新 SKU ID。
149+
/// </summary>
150+
[Newtonsoft.Json.JsonProperty("new_sku_id")]
151+
[System.Text.Json.Serialization.JsonPropertyName("new_sku_id")]
152+
public long NewSKUId { get; set; }
153+
154+
/// <summary>
155+
/// 获取或设置商家处理请求的最后时间戳。
156+
/// </summary>
157+
[Newtonsoft.Json.JsonProperty("ddl_time_stamp")]
158+
[System.Text.Json.Serialization.JsonPropertyName("ddl_time_stamp")]
159+
public long? DeadlineTimestamp { get; set; }
139160
}
140161
}
141162

0 commit comments

Comments
 (0)