diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderDetailResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderDetailResponse.cs index ef83b77b..6a9c03ee 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderDetailResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderDetailResponse.cs @@ -36,6 +36,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonPropertyName("order_id")] public string OrderId { get; set; } = default!; + /// + /// 获取或设置佣金单特殊标识。 + /// + [Newtonsoft.Json.JsonProperty("special_id")] + [System.Text.Json.Serialization.JsonPropertyName("special_id")] + [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalStringReadOnlyConverter))] + public string? SpecialId { get; set; } + /// /// 获取或设置 SPU ID。 /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderListRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderListRequest.cs index b6c01318..0cb5972d 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderListRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderListRequest.cs @@ -40,6 +40,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonPropertyName("order_id")] public string? OrderId { get; set; } + /// + /// 获取或设置佣金单特殊标识。 + /// + [Newtonsoft.Json.JsonProperty("special_id")] + [System.Text.Json.Serialization.JsonPropertyName("special_id")] + public string? SpecialId { get; set; } + /// /// 获取或设置 SPU ID。 /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderListResponse.cs index 3194b529..bb5ca251 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECTalent/Order/ChannelsECTalentGetOrderListResponse.cs @@ -17,6 +17,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalStringReadOnlyConverter))] public string OrderId { get; set; } = default!; + /// + /// 获取或设置佣金单特殊标识。 + /// + [Newtonsoft.Json.JsonProperty("special_id")] + [System.Text.Json.Serialization.JsonPropertyName("special_id")] + [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalStringReadOnlyConverter))] + public string? SpecialId { get; set; } + /// /// 获取或设置 SKU ID。 /// diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECTalent/Order/ChannelsECTalentGetOrderDetailResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECTalent/Order/ChannelsECTalentGetOrderDetailResponse.json index 9078ccb8..30219ae1 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECTalent/Order/ChannelsECTalentGetOrderDetailResponse.json +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECTalent/Order/ChannelsECTalentGetOrderDetailResponse.json @@ -9,6 +9,7 @@ "actual_payment": "99.99", "order_create_time": 1700000000, "order_update_time": 1700003600, + "special_id": "SP12345", "buyer_info": { "open_id": "o1234567890abcdef", "union_id": "u1234567890abcdef" diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECTalent/Order/ChannelsECTalentGetOrderListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECTalent/Order/ChannelsECTalentGetOrderListResponse.json index b02ac4de..969771d4 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECTalent/Order/ChannelsECTalentGetOrderListResponse.json +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECTalent/Order/ChannelsECTalentGetOrderListResponse.json @@ -4,7 +4,8 @@ "order_list": [ { "order_id": "123", - "sku_id": "1234" + "sku_id": "1234", + "special_id": "1" } ], "has_more": true