Skip to content

Commit d8af757

Browse files
committed
feat(wxapi): 随官方更新微信小店订单相关接口模型
1 parent 8bf7357 commit d8af757

1 file changed

Lines changed: 46 additions & 1 deletion

File tree

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

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public class ChangeSKUInfo
135135
/// </summary>
136136
[Newtonsoft.Json.JsonProperty("preshipment_change_sku_state")]
137137
[System.Text.Json.Serialization.JsonPropertyName("preshipment_change_sku_state")]
138-
public int IsPreshipmentChangeSKUSuccessful { get; set; }
138+
public int PreshipmentChangeSKUState { get; set; }
139139

140140
/// <summary>
141141
/// 获取或设置原 SKU ID。
@@ -1072,6 +1072,13 @@ public class Source
10721072
[Newtonsoft.Json.JsonProperty("content_id")]
10731073
[System.Text.Json.Serialization.JsonPropertyName("content_id")]
10741074
public string? ContentId { get; set; }
1075+
1076+
/// <summary>
1077+
/// 获取或设置自营推客推广的带货机构 ID。
1078+
/// </summary>
1079+
[Newtonsoft.Json.JsonProperty("promoter_head_supplier_id")]
1080+
[System.Text.Json.Serialization.JsonPropertyName("promoter_head_supplier_id")]
1081+
public string? PromoterHeadSupplierId { get; set; }
10751082
}
10761083

10771084
public class Refund
@@ -1107,6 +1114,37 @@ public class GreetingCard
11071114
[System.Text.Json.Serialization.JsonPropertyName("greeting_message")]
11081115
public string? GreetingMessage { get; set; }
11091116
}
1117+
1118+
public class CustomInfo
1119+
{
1120+
/// <summary>
1121+
/// 获取或设置定制类型。
1122+
/// </summary>
1123+
[Newtonsoft.Json.JsonProperty("custom_type")]
1124+
[System.Text.Json.Serialization.JsonPropertyName("custom_type")]
1125+
public int CustomType { get; set; }
1126+
1127+
/// <summary>
1128+
/// 获取或设置定制图片 URL。
1129+
/// </summary>
1130+
[Newtonsoft.Json.JsonProperty("custom_img_url")]
1131+
[System.Text.Json.Serialization.JsonPropertyName("custom_img_url")]
1132+
public string? CustomImageUrl { get; set; }
1133+
1134+
/// <summary>
1135+
/// 获取或设置定制预览图片 URL。
1136+
/// </summary>
1137+
[Newtonsoft.Json.JsonProperty("custom_preview_img_url")]
1138+
[System.Text.Json.Serialization.JsonPropertyName("custom_preview_img_url")]
1139+
public string? CustomPreviewImageUrl { get; set; }
1140+
1141+
/// <summary>
1142+
/// 获取或设置定制文字。
1143+
/// </summary>
1144+
[Newtonsoft.Json.JsonProperty("custom_word")]
1145+
[System.Text.Json.Serialization.JsonPropertyName("custom_word")]
1146+
public string? CustomWord { get; set; }
1147+
}
11101148
}
11111149

11121150
/// <summary>
@@ -1206,6 +1244,13 @@ public class GreetingCard
12061244
[Newtonsoft.Json.JsonProperty("greeting_card_info")]
12071245
[System.Text.Json.Serialization.JsonPropertyName("greeting_card_info")]
12081246
public Types.GreetingCard? GreetingCard { get; set; }
1247+
1248+
/// <summary>
1249+
/// 获取或设置商品定制信息。
1250+
/// </summary>
1251+
[Newtonsoft.Json.JsonProperty("custom_info")]
1252+
[System.Text.Json.Serialization.JsonPropertyName("custom_info")]
1253+
public Types.CustomInfo? CustomInfo { get; set; }
12091254
}
12101255

12111256
public class AftersaleDetail

0 commit comments

Comments
 (0)