diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemAddResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemAddResponse.cs
index abdeb156..cec4ab33 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemAddResponse.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemAddResponse.cs
@@ -5,5 +5,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
///
public class ChannelsECLeagueHeadSupplierCooperativeItemAddResponse : WechatApiResponse
{
+ ///
+ /// 获取或设置机构合作计划 ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("cooperative_item_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("cooperative_item_id")]
+ public long CooperativeItemId { get; set; }
}
}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetRequest.cs
index 6539e5eb..c08ce3f5 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetRequest.cs
@@ -5,6 +5,26 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
///
public class ChannelsECLeagueHeadSupplierCooperativeItemListGetRequest : WechatApiRequest, IInferable
{
+ public static class Types
+ {
+ public class Range
+ {
+ ///
+ /// 获取或设置最小值。
+ ///
+ [Newtonsoft.Json.JsonProperty("min")]
+ [System.Text.Json.Serialization.JsonPropertyName("min")]
+ public long Mininum { get; set; }
+
+ ///
+ /// 获取或设置最大值。
+ ///
+ [Newtonsoft.Json.JsonProperty("max")]
+ [System.Text.Json.Serialization.JsonPropertyName("max")]
+ public long Maxinum { get; set; }
+ }
+ }
+
///
/// 获取或设置佣金分配类型。
///
@@ -12,6 +32,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("commission_type")]
public int CommissionType { get; set; }
+ ///
+ /// 获取或设置上架时间戳范围信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("listing_time_range")]
+ [System.Text.Json.Serialization.JsonPropertyName("listing_time_range")]
+ public Types.Range? ListingTimestampRange { get; set; }
+
///
/// 获取或设置分页每页数量。
/// 默认值:10
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetResponse.cs
index 06a9c06c..5c55ae60 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetResponse.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetResponse.cs
@@ -15,14 +15,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("product_id")]
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
- public long CooperativeItemId { get; set; }
+ public long ProjectId { get; set; }
///
- /// 获取或设置合作计划 ID。
+ /// 获取或设置机构合作计划 ID。
///
- [Newtonsoft.Json.JsonProperty("id")]
- [System.Text.Json.Serialization.JsonPropertyName("id")]
- public long PlanId { get; set; }
+ [Newtonsoft.Json.JsonProperty("cooperative_item_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("cooperative_item_id")]
+ public long CooperativeItemId { get; set; }
///
/// 获取或设置计划链接。
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SelectionProduct/ChannelsECLeagueHeadSupplierSelectionProductsListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SelectionProduct/ChannelsECLeagueHeadSupplierSelectionProductsListGetRequest.cs
index 45c44dea..78bfff2b 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SelectionProduct/ChannelsECLeagueHeadSupplierSelectionProductsListGetRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SelectionProduct/ChannelsECLeagueHeadSupplierSelectionProductsListGetRequest.cs
@@ -66,6 +66,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("promote_time_range")]
public Types.Range? PromoteTimestampRange { get; set; }
+ ///
+ /// 获取或设置创建时间戳范围信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("create_time_range")]
+ [System.Text.Json.Serialization.JsonPropertyName("create_time_range")]
+ public Types.Range? CreateTimestampRange { get; set; }
+
///
/// 获取或设置保障标识信息。
///
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemAddRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemAddRequest.cs
index 235bf418..b46d8dc0 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemAddRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemAddRequest.cs
@@ -6,17 +6,24 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public class ChannelsECLeagueHeadSupplierSubItemAddRequest : WechatApiRequest, IInferable
{
///
- /// 获取或设置计划 ID。
+ /// 获取或设置机构合作计划 ID。
///
- [Newtonsoft.Json.JsonProperty("id")]
- [System.Text.Json.Serialization.JsonPropertyName("id")]
- public long PlanId { get; set; }
+ [Newtonsoft.Json.JsonProperty("cooperative_item_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("cooperative_item_id")]
+ public long CooperativeItemId { get; set; }
///
- /// 获取或设置达人佣金率(范围:0~90)。
+ /// 获取或设置达人佣金率(范围:0~90)。与字段 二选一。
///
[Newtonsoft.Json.JsonProperty("ratio")]
[System.Text.Json.Serialization.JsonPropertyName("ratio")]
- public int Ratio { get; set; }
+ public int? Ratio { get; set; }
+
+ ///
+ /// 获取或设置达人精确佣金率(单位:万分数)。与字段 二选一。
+ ///
+ [Newtonsoft.Json.JsonProperty("ratio_ext")]
+ [System.Text.Json.Serialization.JsonPropertyName("ratio_ext")]
+ public int? RatioExt { get; set; }
}
}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemListGetRequest.cs
index 7b3e3317..3a7a429e 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemListGetRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemListGetRequest.cs
@@ -6,11 +6,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public class ChannelsECLeagueHeadSupplierSubItemListGetRequest : WechatApiRequest, IInferable
{
///
- /// 获取或设置计划 ID。
+ /// 获取或设置机构合作计划 ID。
///
- [Newtonsoft.Json.JsonProperty("id")]
- [System.Text.Json.Serialization.JsonPropertyName("id")]
- public long SubItemId { get; set; }
+ [Newtonsoft.Json.JsonProperty("cooperative_item_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("cooperative_item_id")]
+ public long CooperativeItemId { get; set; }
///
/// 获取或设置分页每页数量。
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemAddResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemAddResponse.json
new file mode 100644
index 00000000..40a0738d
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemAddResponse.json
@@ -0,0 +1,5 @@
+{
+ "errcode": 0,
+ "errmsg": "ok",
+ "cooperative_item_id": 0
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetResponse.json
index efa5ff28..45beb2df 100644
--- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetResponse.json
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/CooperativeItem/ChannelsECLeagueHeadSupplierCooperativeItemListGetResponse.json
@@ -4,7 +4,7 @@
"list": [
{
"product_id": 1,
- "id": 123,
+ "cooperative_item_id": 123,
"head_supplier_item_link": "weixinstore/10001"
}
],
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemAddRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemAddRequest.json
index 84994ca7..6554c598 100644
--- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemAddRequest.json
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemAddRequest.json
@@ -1,4 +1,4 @@
{
- "id": 0,
+ "cooperative_item_id": 0,
"ratio": 100
}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemListGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemListGetRequest.json
index 78300ce6..73d0a487 100644
--- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemListGetRequest.json
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/SubItem/ChannelsECLeagueHeadSupplierSubItemListGetRequest.json
@@ -1,5 +1,5 @@
{
- "id": 0,
+ "cooperative_item_id": 0,
"page_size": 10,
"next_key": ""
}