diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/ChannelsEC/ChannelsECHeadSupplierItemUpdateEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/ChannelsEC/ChannelsECHeadSupplierItemUpdateEvent.cs
new file mode 100644
index 00000000..3076208c
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/ChannelsEC/ChannelsECHeadSupplierItemUpdateEvent.cs
@@ -0,0 +1,65 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+{
+ ///
+ /// 表示 EVENT.head_supplier_item_update 事件的数据。
+ /// REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/callback/head_supplier_item_update.html
+ ///
+ public class ChannelsECHeadSupplierItemUpdateEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable
+ {
+ public static class Types
+ {
+ public class EventData
+ {
+ ///
+ /// 获取或设置事件类型。
+ ///
+ [Newtonsoft.Json.JsonProperty("event_type")]
+ [System.Text.Json.Serialization.JsonPropertyName("event_type")]
+ [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
+ [System.Xml.Serialization.XmlElement("event_type")]
+ public int EventType { get; set; }
+
+ ///
+ /// 获取或设置小店 AppId。
+ ///
+ [Newtonsoft.Json.JsonProperty("appid")]
+ [System.Text.Json.Serialization.JsonPropertyName("appid")]
+ [System.Xml.Serialization.XmlElement("appid")]
+ public string AppId { get; set; } = default!;
+
+ ///
+ /// 获取或设置商品 ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("product_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("product_id")]
+ [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
+ [System.Xml.Serialization.XmlElement("product_id")]
+ public long ProductId { get; set; }
+
+ ///
+ /// 获取或设置商品版本号。
+ ///
+ [Newtonsoft.Json.JsonProperty("version")]
+ [System.Text.Json.Serialization.JsonPropertyName("version")]
+ [System.Xml.Serialization.XmlElement("version")]
+ public string? Version { get; set; }
+
+ ///
+ /// 获取或设置商品变更字段列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("update_fields")]
+ [System.Text.Json.Serialization.JsonPropertyName("update_fields")]
+ [System.Xml.Serialization.XmlElement("update_fields", Type = typeof(string), IsNullable = true)]
+ public string[]? UpdatedFieldList { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置事件数据。
+ ///
+ [Newtonsoft.Json.JsonProperty("item_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("item_info")]
+ [System.Xml.Serialization.XmlElement("item_info")]
+ public Types.EventData EventData { get; set; } = default!;
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs
index 73120171..0038aaa5 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs
@@ -2043,6 +2043,194 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
#endregion
#region ECLeague/HeadSupplier
+ #region ECLeague/HeadSupplier/Funds
+ ///
+ /// 异步调用 [POST] /channels/ec/league/headsupplier/funds/balance/get 接口。
+ /// REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getbalance.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteChannelsECLeagueHeadSupplierFundsBalanceGetAsync(this WechatApiClient client, Models.ChannelsECLeagueHeadSupplierFundsBalanceGetRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateRequest(request, HttpMethod.Post, "channels", "ec", "league", "headsupplier", "funds", "balance", "get")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+
+ ///
+ /// 异步调用 [POST] /channels/ec/league/headsupplier/funds/flowdetail/get 接口。
+ /// REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getfundsflowdeatail.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteChannelsECLeagueHeadSupplierFundsFlowDetailGetAsync(this WechatApiClient client, Models.ChannelsECLeagueHeadSupplierFundsFlowDetailGetRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateRequest(request, HttpMethod.Post, "channels", "ec", "league", "headsupplier", "funds", "flowdetail", "get")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+
+ ///
+ /// 异步调用 [POST] /channels/ec/league/headsupplier/funds/flowlist/get 接口。
+ /// REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getfundsflowlist.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteChannelsECLeagueHeadSupplierFundsFlowListGetAsync(this WechatApiClient client, Models.ChannelsECLeagueHeadSupplierFundsFlowListGetRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateRequest(request, HttpMethod.Post, "channels", "ec", "league", "headsupplier", "funds", "flowlist", "get")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+ #endregion
+
+ #region ECLeague/HeadSupplier/Shop
+ ///
+ /// 异步调用 [POST] /channels/ec/league/headsupplier/shop/list/get 接口。
+ /// REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getshoplist.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteChannelsECLeagueHeadSupplierShopListGetAsync(this WechatApiClient client, Models.ChannelsECLeagueHeadSupplierShopListGetRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateRequest(request, HttpMethod.Post, "channels", "ec", "league", "headsupplier", "shop", "list", "get")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+
+ ///
+ /// 异步调用 [POST] /channels/ec/league/headsupplier/shop/get 接口。
+ /// REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getshop.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteChannelsECLeagueHeadSupplierShopGetAsync(this WechatApiClient client, Models.ChannelsECLeagueHeadSupplierShopGetRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateRequest(request, HttpMethod.Post, "channels", "ec", "league", "headsupplier", "shop", "get")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+ #endregion
+
+ #region ECLeague/HeadSupplier/Item
+ ///
+ /// 异步调用 [POST] /channels/ec/league/headsupplier/item/list/get 接口。
+ /// REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getitemlist.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteChannelsECLeagueHeadSupplierItemListGetAsync(this WechatApiClient client, Models.ChannelsECLeagueHeadSupplierItemListGetRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateRequest(request, HttpMethod.Post, "channels", "ec", "league", "headsupplier", "item", "list", "get")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+
+ ///
+ /// 异步调用 [POST] /channels/ec/league/headsupplier/item/get 接口。
+ /// REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getitem.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteChannelsECLeagueHeadSupplierItemGetAsync(this WechatApiClient client, Models.ChannelsECLeagueHeadSupplierItemGetRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateRequest(request, HttpMethod.Post, "channels", "ec", "league", "headsupplier", "item", "get")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+ #endregion
+
+ #region ECLeague/HeadSupplier/Order
+ ///
+ /// 异步调用 [POST] /channels/ec/league/headsupplier/order/list/get 接口。
+ /// REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getorderlist.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteChannelsECLeagueHeadSupplierOrderListGetAsync(this WechatApiClient client, Models.ChannelsECLeagueHeadSupplierOrderListGetRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateRequest(request, HttpMethod.Post, "channels", "ec", "league", "headsupplier", "order", "list", "get")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+
+ ///
+ /// 异步调用 [POST] /channels/ec/league/headsupplier/order/get 接口。
+ /// REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getorder.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteChannelsECLeagueHeadSupplierOrderGetAsync(this WechatApiClient client, Models.ChannelsECLeagueHeadSupplierOrderGetRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateRequest(request, HttpMethod.Post, "channels", "ec", "league", "headsupplier", "order", "get")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+ #endregion
+
#region ECLeague/HeadSupplier/Window
///
/// 异步调用 [POST] /channels/ec/league/headsupplier/window/add 接口。
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsBalanceGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsBalanceGetRequest.cs
new file mode 100644
index 00000000..b438097b
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsBalanceGetRequest.cs
@@ -0,0 +1,9 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/funds/balance/get 接口的请求。
+ ///
+ public class ChannelsECLeagueHeadSupplierFundsBalanceGetRequest : WechatApiRequest, IInferable
+ {
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsBalanceGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsBalanceGetResponse.cs
new file mode 100644
index 00000000..1b04926e
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsBalanceGetResponse.cs
@@ -0,0 +1,22 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/funds/balance/get 接口的响应。
+ ///
+ public class ChannelsECLeagueHeadSupplierFundsBalanceGetResponse : WechatApiResponse
+ {
+ ///
+ /// 获取或设置可用余额(单位:分)。
+ ///
+ [Newtonsoft.Json.JsonProperty("available_amount")]
+ [System.Text.Json.Serialization.JsonPropertyName("available_amount")]
+ public int AvailableAmount { get; set; }
+
+ ///
+ /// 获取或设置待结算余额(单位:分)。
+ ///
+ [Newtonsoft.Json.JsonProperty("pending_amount")]
+ [System.Text.Json.Serialization.JsonPropertyName("pending_amount")]
+ public int PendingAmount { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetRequest.cs
new file mode 100644
index 00000000..4643291e
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetRequest.cs
@@ -0,0 +1,15 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/funds/flowdetail/get 接口的请求。
+ ///
+ public class ChannelsECLeagueHeadSupplierFundsFlowDetailGetRequest : WechatApiRequest, IInferable
+ {
+ ///
+ /// 获取或设置资金流水单号。
+ ///
+ [Newtonsoft.Json.JsonProperty("flow_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("flow_id")]
+ public string FundsFlowId { get; set; } = string.Empty;
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse.cs
new file mode 100644
index 00000000..d6b2d25a
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse.cs
@@ -0,0 +1,89 @@
+using System;
+
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/funds/flowdetail/get 接口的响应。
+ ///
+ public class ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse : WechatApiResponse
+ {
+ public static class Types
+ {
+ public class FundsFlow
+ {
+ ///
+ /// 获取或设置资金流水单号。
+ ///
+ [Newtonsoft.Json.JsonProperty("flow_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("flow_id")]
+ public string FundsFlowId { get; set; } = default!;
+
+ ///
+ /// 获取或设置资金类型。
+ ///
+ [Newtonsoft.Json.JsonProperty("funds_type")]
+ [System.Text.Json.Serialization.JsonPropertyName("funds_type")]
+ public int FundsType { get; set; }
+
+ ///
+ /// 获取或设置流水类型。
+ ///
+ [Newtonsoft.Json.JsonProperty("flow_type")]
+ [System.Text.Json.Serialization.JsonPropertyName("flow_type")]
+ public int FlowType { get; set; }
+
+ ///
+ /// 获取或设置金额(单位:分)。
+ ///
+ [Newtonsoft.Json.JsonProperty("amount")]
+ [System.Text.Json.Serialization.JsonPropertyName("amount")]
+ public int Amount { get; set; }
+
+ ///
+ /// 获取或设置余额(单位:分)。
+ ///
+ [Newtonsoft.Json.JsonProperty("balance")]
+ [System.Text.Json.Serialization.JsonPropertyName("balance")]
+ public int Balance { get; set; }
+
+ ///
+ /// 获取或设置备注。
+ ///
+ [Newtonsoft.Json.JsonProperty("remark")]
+ [System.Text.Json.Serialization.JsonPropertyName("remark")]
+ public string? Remark { get; set; }
+
+ ///
+ /// 获取或设置记账时间。
+ ///
+ [Newtonsoft.Json.JsonProperty("bookkeeping_time")]
+ [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.RegularDateTimeOffsetConverter))]
+ [System.Text.Json.Serialization.JsonPropertyName("bookkeeping_time")]
+ [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.RegularDateTimeOffsetConverter))]
+ public DateTimeOffset BookkeepingTIme { get; set; }
+
+ ///
+ /// 获取或设置关联订单号。
+ ///
+ [Newtonsoft.Json.JsonProperty("order_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("order_id")]
+ [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
+ public long? OrderId { get; set; }
+
+ ///
+ /// 获取或设置关联提现单号。
+ ///
+ [Newtonsoft.Json.JsonProperty("withdraw_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("withdraw_id")]
+ public string? WithdrawId { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置资金流水信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("funds_flow")]
+ [System.Text.Json.Serialization.JsonPropertyName("funds_flow")]
+ public Types.FundsFlow FundsFlow { get; set; } = default!;
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetRequest.cs
new file mode 100644
index 00000000..72c68924
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetRequest.cs
@@ -0,0 +1,59 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/funds/flowlist/get 接口的请求。
+ ///
+ public class ChannelsECLeagueHeadSupplierFundsFlowListGetRequest : WechatApiRequest, IInferable
+ {
+ ///
+ /// 获取或设置资金类型。
+ ///
+ [Newtonsoft.Json.JsonProperty("funds_type")]
+ [System.Text.Json.Serialization.JsonPropertyName("funds_type")]
+ public int? FundsType { get; set; }
+
+ ///
+ /// 获取或设置流水产生的开始时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("start_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("start_time")]
+ public long? StartTimestamp { get; set; }
+
+ ///
+ /// 获取或设置流水产生的结束时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("end_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("end_time")]
+ public long? EndTimestamp { get; set; }
+
+ ///
+ /// 获取或设置关联支付单号。
+ ///
+ [Newtonsoft.Json.JsonProperty("transaction_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("transaction_id")]
+ public string? TransactionId { get; set; }
+
+ ///
+ /// 获取或设置分页页数。
+ /// 默认值:1
+ ///
+ [Newtonsoft.Json.JsonProperty("page")]
+ [System.Text.Json.Serialization.JsonPropertyName("page")]
+ public int Page { get; set; } = 1;
+
+ ///
+ /// 获取或设置分页每页数量。
+ /// 默认值:10
+ ///
+ [Newtonsoft.Json.JsonProperty("page_size")]
+ [System.Text.Json.Serialization.JsonPropertyName("page_size")]
+ public int Limit { get; set; } = 10;
+
+ ///
+ /// 获取或设置翻页标记。
+ ///
+ [Newtonsoft.Json.JsonProperty("next_key")]
+ [System.Text.Json.Serialization.JsonPropertyName("next_key")]
+ public string? Cursor { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetResponse.cs
new file mode 100644
index 00000000..cc683bb9
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetResponse.cs
@@ -0,0 +1,29 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/funds/flowlist/get 接口的响应。
+ ///
+ public class ChannelsECLeagueHeadSupplierFundsFlowListGetResponse : WechatApiResponse
+ {
+ ///
+ /// 获取或设置资金流水单号列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("flow_ids")]
+ [System.Text.Json.Serialization.JsonPropertyName("flow_ids")]
+ public string[] FundsFlowIdList { get; set; } = default!;
+
+ ///
+ /// 获取或设置是否还有更多。
+ ///
+ [Newtonsoft.Json.JsonProperty("has_more")]
+ [System.Text.Json.Serialization.JsonPropertyName("has_more")]
+ public bool HasMore { get; set; }
+
+ ///
+ /// 获取或设置翻页标记。
+ ///
+ [Newtonsoft.Json.JsonProperty("next_key")]
+ [System.Text.Json.Serialization.JsonPropertyName("next_key")]
+ public string? NextCursor { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetRequest.cs
new file mode 100644
index 00000000..11db4b6c
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetRequest.cs
@@ -0,0 +1,23 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/item/get 接口的请求。
+ ///
+ public class ChannelsECLeagueHeadSupplierItemGetRequest : WechatApiRequest, IInferable
+ {
+ ///
+ /// 获取或设置小店 AppId。
+ ///
+ [Newtonsoft.Json.JsonProperty("appid")]
+ [System.Text.Json.Serialization.JsonPropertyName("appid")]
+ public string AppId { get; set; } = string.Empty;
+
+ ///
+ /// 获取或设置商品 ID。
+ ///
+ [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 ProductId { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetResponse.cs
new file mode 100644
index 00000000..0f8d03a3
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetResponse.cs
@@ -0,0 +1,74 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/item/get 接口的响应。
+ ///
+ public class ChannelsECLeagueHeadSupplierItemGetResponse : WechatApiResponse
+ {
+ public static class Types
+ {
+ public class Product
+ {
+ public static class Types
+ {
+ public class ProductInfo : ChannelsECLeagueHeadSupplierWindowGetDetailResponse.Types.Product.Types.ProductInfo
+ {
+ public static new class Types
+ {
+ public class Detail : ChannelsECLeagueHeadSupplierWindowGetDetailResponse.Types.Product.Types.ProductInfo.Types.Detail
+ {
+ }
+
+ public class Category : ChannelsECLeagueHeadSupplierWindowGetDetailResponse.Types.Product.Types.ProductInfo.Types.Category
+ {
+ }
+ }
+
+ ///
+ /// 获取或设置商品详情信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("desc_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("desc_info")]
+ public new Types.Detail Detail { get; set; } = default!;
+
+ ///
+ /// 获取或设置商品类目列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("cats")]
+ [System.Text.Json.Serialization.JsonPropertyName("cats")]
+ public new Types.Category[] CategoryList { get; set; } = default!;
+ }
+ }
+
+ ///
+ /// 获取或设置小店 AppId。
+ ///
+ [Newtonsoft.Json.JsonProperty("appid")]
+ [System.Text.Json.Serialization.JsonPropertyName("appid")]
+ public string AppId { get; set; } = default!;
+
+ ///
+ /// 获取或设置商品 ID。
+ ///
+ [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 ProductId { get; set; }
+
+ ///
+ /// 获取或设置商品信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("product_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("product_info")]
+ public Types.ProductInfo ProductInfo { get; set; } = default!;
+ }
+ }
+
+ ///
+ /// 获取或设置商品信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("item")]
+ [System.Text.Json.Serialization.JsonPropertyName("item")]
+ public Types.Product Product { get; set; } = default!;
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetRequest.cs
new file mode 100644
index 00000000..aa5139c9
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetRequest.cs
@@ -0,0 +1,30 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/item/list/get 接口的请求。
+ ///
+ public class ChannelsECLeagueHeadSupplierItemListGetRequest : WechatApiRequest, IInferable
+ {
+ ///
+ /// 获取或设置小店 AppId。
+ ///
+ [Newtonsoft.Json.JsonProperty("appid")]
+ [System.Text.Json.Serialization.JsonPropertyName("appid")]
+ public string? AppId { get; set; }
+
+ ///
+ /// 获取或设置分页每页数量。
+ /// 默认值:10
+ ///
+ [Newtonsoft.Json.JsonProperty("page_size")]
+ [System.Text.Json.Serialization.JsonPropertyName("page_size")]
+ public int Limit { get; set; } = 10;
+
+ ///
+ /// 获取或设置翻页标记。
+ ///
+ [Newtonsoft.Json.JsonProperty("next_key")]
+ [System.Text.Json.Serialization.JsonPropertyName("next_key")]
+ public string? Cursor { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetResponse.cs
new file mode 100644
index 00000000..2dfdfadf
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetResponse.cs
@@ -0,0 +1,50 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/item/list/get 接口的响应。
+ ///
+ public class ChannelsECLeagueHeadSupplierItemListGetResponse : WechatApiResponse
+ {
+ public static class Types
+ {
+ public class Product
+ {
+ ///
+ /// 获取或设置小店 AppId。
+ ///
+ [Newtonsoft.Json.JsonProperty("appid")]
+ [System.Text.Json.Serialization.JsonPropertyName("appid")]
+ public string AppId { get; set; } = default!;
+
+ ///
+ /// 获取或设置商品 ID。
+ ///
+ [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 ProductId { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置商品列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("list")]
+ [System.Text.Json.Serialization.JsonPropertyName("list")]
+ public Types.Product[] ProductList { get; set; } = default!;
+
+ ///
+ /// 获取或设置是否还有更多。
+ ///
+ [Newtonsoft.Json.JsonProperty("has_more")]
+ [System.Text.Json.Serialization.JsonPropertyName("has_more")]
+ public bool HasMore { get; set; }
+
+ ///
+ /// 获取或设置翻页标记。
+ ///
+ [Newtonsoft.Json.JsonProperty("next_key")]
+ [System.Text.Json.Serialization.JsonPropertyName("next_key")]
+ public string? NextCursor { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetRequest.cs
new file mode 100644
index 00000000..3206d12a
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetRequest.cs
@@ -0,0 +1,22 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/order/get 接口的请求。
+ ///
+ public class ChannelsECLeagueHeadSupplierOrderGetRequest : WechatApiRequest, IInferable
+ {
+ ///
+ /// 获取或设置订单 ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("order_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("order_id")]
+ public long OrderId { get; set; }
+
+ ///
+ /// 获取或设置 SKU ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("sku_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("sku_id")]
+ public long SKUId { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetResponse.cs
new file mode 100644
index 00000000..8f24934c
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetResponse.cs
@@ -0,0 +1,212 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/order/get 接口的响应。
+ ///
+ public class ChannelsECLeagueHeadSupplierOrderGetResponse : WechatApiResponse
+ {
+ public static class Types
+ {
+ public class CommssionOrder
+ {
+ public static class Types
+ {
+ public class OrderDetail
+ {
+ public static class Types
+ {
+ public class ShopInfo
+ {
+ ///
+ /// 获取或设置小店 AppId。
+ ///
+ [Newtonsoft.Json.JsonProperty("appid")]
+ [System.Text.Json.Serialization.JsonPropertyName("appid")]
+ public string AppId { get; set; } = default!;
+ }
+
+ public class ProductInfo
+ {
+ ///
+ /// 获取或设置商品 ID。
+ ///
+ [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 ProductId { get; set; }
+
+ ///
+ /// 获取或设置商品缩略图 URL。
+ ///
+ [Newtonsoft.Json.JsonProperty("thumb_img")]
+ [System.Text.Json.Serialization.JsonPropertyName("thumb_img")]
+ public string ThumbnailUrl { get; set; } = default!;
+
+ ///
+ /// 获取或设置商品标题。
+ ///
+ [Newtonsoft.Json.JsonProperty("title")]
+ [System.Text.Json.Serialization.JsonPropertyName("title")]
+ public string Title { get; set; } = default!;
+
+ ///
+ /// 获取或设置可分佣金额(单位:分)。
+ ///
+ [Newtonsoft.Json.JsonProperty("actual_payment")]
+ [System.Text.Json.Serialization.JsonPropertyName("actual_payment")]
+ public int ActualPayAmount { get; set; }
+ }
+
+ public class OrderInfo
+ {
+ ///
+ /// 获取或设置订单状态。
+ ///
+ [Newtonsoft.Json.JsonProperty("order_status")]
+ [System.Text.Json.Serialization.JsonPropertyName("order_status")]
+ public int Status { get; set; }
+ }
+
+ public class CommissionInfo
+ {
+ public static class Types
+ {
+ public class FinderInfo
+ {
+ ///
+ /// 获取或设置达人昵称。
+ ///
+ [Newtonsoft.Json.JsonProperty("nickname")]
+ [System.Text.Json.Serialization.JsonPropertyName("nickname")]
+ public string Nickname { get; set; } = default!;
+
+ ///
+ /// 获取或设置佣金费率(单位:万分数)。
+ ///
+ [Newtonsoft.Json.JsonProperty("ratio")]
+ [System.Text.Json.Serialization.JsonPropertyName("ratio")]
+ public int CommissionRatio { get; set; }
+
+ ///
+ /// 获取或设置佣金金额(单位:分)。
+ ///
+ [Newtonsoft.Json.JsonProperty("amount")]
+ [System.Text.Json.Serialization.JsonPropertyName("amount")]
+ public int CommissionAmount { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置达人信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("finder_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("finder_info")]
+ public Types.FinderInfo FinderInfo { get; set; } = default!;
+
+ ///
+ /// 获取或设置服务费率(单位:万分数)。
+ ///
+ [Newtonsoft.Json.JsonProperty("service_ratio")]
+ [System.Text.Json.Serialization.JsonPropertyName("service_ratio")]
+ public int ServiceRatio { get; set; }
+
+ ///
+ /// 获取或设置服务费用(单位:分)。
+ ///
+ [Newtonsoft.Json.JsonProperty("service_amount")]
+ [System.Text.Json.Serialization.JsonPropertyName("service_amount")]
+ public int ServiceAmount { get; set; }
+
+ ///
+ /// 获取或设置结算时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("profit_sharding_suc_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("profit_sharding_suc_time")]
+ public long ProfitShardingSuccessTimestamp { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置小店商家信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("shop_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("shop_info")]
+ public Types.ShopInfo ShopInfo { get; set; } = default!;
+
+ ///
+ /// 获取或设置商品详情。
+ ///
+ [Newtonsoft.Json.JsonProperty("product_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("product_info")]
+ public Types.ProductInfo ProductInfo { get; set; } = default!;
+
+ ///
+ /// 获取或设置订单信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("order_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("order_info")]
+ public Types.OrderInfo OrderInfo { get; set; } = default!;
+
+ ///
+ /// 获取或设置分佣信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("commission_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("commission_info")]
+ public Types.CommissionInfo CommissionInfo { get; set; } = default!;
+ }
+ }
+
+ ///
+ /// 获取或设置订单 ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("order_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("order_id")]
+ [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
+ public long OrderId { get; set; }
+
+ ///
+ /// 获取或设置 SKU ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("sku_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("sku_id")]
+ [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
+ public long SKUId { get; set; }
+
+ ///
+ /// 获取或设置佣金单状态。
+ ///
+ [Newtonsoft.Json.JsonProperty("status")]
+ [System.Text.Json.Serialization.JsonPropertyName("status")]
+ public int Status { get; set; }
+
+ ///
+ /// 获取或设置创建时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("create_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("create_time")]
+ public long CreateTimestamp { get; set; }
+
+ ///
+ /// 获取或设置更新时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("update_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("update_time")]
+ public long UpdateTimestamp { get; set; }
+
+ ///
+ /// 获取或设置订单详情。
+ ///
+ [Newtonsoft.Json.JsonProperty("order_detail")]
+ [System.Text.Json.Serialization.JsonPropertyName("order_detail")]
+ public Types.OrderDetail OrderDetail { get; set; } = default!;
+ }
+ }
+
+ ///
+ /// 获取或设置佣金单信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("commssion_order")]
+ [System.Text.Json.Serialization.JsonPropertyName("commssion_order")]
+ public Types.CommssionOrder CommssionOrder { get; set; } = default!;
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetRequest.cs
new file mode 100644
index 00000000..0fbb0d2d
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetRequest.cs
@@ -0,0 +1,78 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/order/list/get 接口的请求。
+ ///
+ public class ChannelsECLeagueHeadSupplierOrderListGetRequest : WechatApiRequest, IInferable
+ {
+ public static class Types
+ {
+ public class TimeRange
+ {
+ ///
+ /// 获取或设置开始时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("start_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("start_time")]
+ public long StartTimestamp { get; set; }
+
+ ///
+ /// 获取或设置结束时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("end_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("end_time")]
+ public long EndTimestamp { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置小店 AppId。
+ ///
+ [Newtonsoft.Json.JsonProperty("appid")]
+ [System.Text.Json.Serialization.JsonPropertyName("appid")]
+ public string? AppId { get; set; }
+
+ ///
+ /// 获取或设置视频号唯一标识。
+ ///
+ [Newtonsoft.Json.JsonProperty("finder_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("finder_id")]
+ public string? FinderId { get; set; }
+
+ ///
+ /// 获取或设置创建时间范围。
+ ///
+ [Newtonsoft.Json.JsonProperty("create_time_range")]
+ [System.Text.Json.Serialization.JsonPropertyName("create_time_range")]
+ public Types.TimeRange? CreateTimeRange { get; set; }
+
+ ///
+ /// 获取或设置更新时间范围。
+ ///
+ [Newtonsoft.Json.JsonProperty("update_time_range")]
+ [System.Text.Json.Serialization.JsonPropertyName("update_time_range")]
+ public Types.TimeRange? UpdateTimeRange { get; set; }
+
+ ///
+ /// 获取或设置订单 ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("order_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("order_id")]
+ public long? OrderId { get; set; }
+
+ ///
+ /// 获取或设置分页每页数量。
+ /// 默认值:10
+ ///
+ [Newtonsoft.Json.JsonProperty("page_size")]
+ [System.Text.Json.Serialization.JsonPropertyName("page_size")]
+ public int Limit { get; set; } = 10;
+
+ ///
+ /// 获取或设置翻页标记。
+ ///
+ [Newtonsoft.Json.JsonProperty("next_key")]
+ [System.Text.Json.Serialization.JsonPropertyName("next_key")]
+ public string? Cursor { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetResponse.cs
new file mode 100644
index 00000000..4e0fda00
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetResponse.cs
@@ -0,0 +1,51 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/order/list/get 接口的响应。
+ ///
+ public class ChannelsECLeagueHeadSupplierOrderListGetResponse : WechatApiResponse
+ {
+ public static class Types
+ {
+ public class Order
+ {
+ ///
+ /// 获取或设置订单 ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("order_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("order_id")]
+ [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
+ public long OrderId { get; set; }
+
+ ///
+ /// 获取或设置 SKU ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("sku_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("sku_id")]
+ [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
+ public long SKUId { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置订单列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("list")]
+ [System.Text.Json.Serialization.JsonPropertyName("list")]
+ public Types.Order[] OrderList { get; set; } = default!;
+
+ ///
+ /// 获取或设置是否还有更多。
+ ///
+ [Newtonsoft.Json.JsonProperty("has_more")]
+ [System.Text.Json.Serialization.JsonPropertyName("has_more")]
+ public bool HasMore { get; set; }
+
+ ///
+ /// 获取或设置翻页标记。
+ ///
+ [Newtonsoft.Json.JsonProperty("next_key")]
+ [System.Text.Json.Serialization.JsonPropertyName("next_key")]
+ public string? NextCursor { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetRequest.cs
new file mode 100644
index 00000000..18afa42c
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetRequest.cs
@@ -0,0 +1,15 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/shop/get 接口的请求。
+ ///
+ public class ChannelsECLeagueHeadSupplierShopGetRequest : WechatApiRequest, IInferable
+ {
+ ///
+ /// 获取或设置小店 AppId。
+ ///
+ [Newtonsoft.Json.JsonProperty("appid")]
+ [System.Text.Json.Serialization.JsonPropertyName("appid")]
+ public string AppId { get; set; } = string.Empty;
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetResponse.cs
new file mode 100644
index 00000000..0f79b18e
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetResponse.cs
@@ -0,0 +1,101 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/shop/get 接口的响应。
+ ///
+ public class ChannelsECLeagueHeadSupplierShopGetResponse : WechatApiResponse
+ {
+ public static class Types
+ {
+ public class Shop
+ {
+ public static class Types
+ {
+ public class BaseInfo : ChannelsECLeagueHeadSupplierShopListGetResponse.Types.Shop.Types.BaseInfo
+ {
+ }
+
+ public class DataInfo
+ {
+ ///
+ /// 获取或设置合作动销 GMV(单位:分)。
+ ///
+ [Newtonsoft.Json.JsonProperty("gmv")]
+ [System.Text.Json.Serialization.JsonPropertyName("gmv")]
+ public int GMV { get; set; }
+
+ ///
+ /// 获取或设置历史合作商品数。
+ ///
+ [Newtonsoft.Json.JsonProperty("product_number")]
+ [System.Text.Json.Serialization.JsonPropertyName("product_number")]
+ public int ProductCount { get; set; }
+
+ ///
+ /// 获取或设置今日新增合作商品数。
+ ///
+ [Newtonsoft.Json.JsonProperty("product_number_today")]
+ [System.Text.Json.Serialization.JsonPropertyName("product_number_today")]
+ public int ProductCountToday { get; set; }
+
+ ///
+ /// 获取或设置今日动销商品数。
+ ///
+ [Newtonsoft.Json.JsonProperty("product_number_sold_today")]
+ [System.Text.Json.Serialization.JsonPropertyName("product_number_sold_today")]
+ public int ProductCountSoldToday { get; set; }
+
+ ///
+ /// 获取或设置已结算服务费(单位:分)。
+ ///
+ [Newtonsoft.Json.JsonProperty("settle_amount")]
+ [System.Text.Json.Serialization.JsonPropertyName("settle_amount")]
+ public int SettleAmount { get; set; }
+
+ ///
+ /// 获取或设置预计待结算服务费(单位:分)。
+ ///
+ [Newtonsoft.Json.JsonProperty("unsettle_amount")]
+ [System.Text.Json.Serialization.JsonPropertyName("unsettle_amount")]
+ public int UnsettleAmount { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置合作状态。
+ ///
+ [Newtonsoft.Json.JsonProperty("status")]
+ [System.Text.Json.Serialization.JsonPropertyName("status")]
+ public int Status { get; set; }
+
+ ///
+ /// 获取或设置开始合作时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("approved_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("approved_time")]
+ public long ApprovedTimestamp { get; set; }
+
+ ///
+ /// 获取或设置小店基础信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("base_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("base_info")]
+ public Types.BaseInfo BaseInfo { get; set; } = default!;
+
+ ///
+ /// 获取或设置小店数据信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("data_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("data_info")]
+ public Types.DataInfo DataInfo { get; set; } = default!;
+ }
+ }
+
+ ///
+ /// 获取或设置合作小店信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("shop_detail")]
+ [System.Text.Json.Serialization.JsonPropertyName("shop_detail")]
+ public Types.Shop Shop { get; set; } = default!;
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetRequest.cs
new file mode 100644
index 00000000..3086f44d
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetRequest.cs
@@ -0,0 +1,23 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/shop/list/get 接口的请求。
+ ///
+ public class ChannelsECLeagueHeadSupplierShopListGetRequest : WechatApiRequest, IInferable
+ {
+ ///
+ /// 获取或设置分页每页数量。
+ /// 默认值:10
+ ///
+ [Newtonsoft.Json.JsonProperty("page_size")]
+ [System.Text.Json.Serialization.JsonPropertyName("page_size")]
+ public int Limit { get; set; } = 10;
+
+ ///
+ /// 获取或设置翻页标记。
+ ///
+ [Newtonsoft.Json.JsonProperty("next_key")]
+ [System.Text.Json.Serialization.JsonPropertyName("next_key")]
+ public string? Cursor { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetResponse.cs
new file mode 100644
index 00000000..e65f9fa1
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetResponse.cs
@@ -0,0 +1,76 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /channels/ec/league/headsupplier/shop/list/get 接口的响应。
+ ///
+ public class ChannelsECLeagueHeadSupplierShopListGetResponse : WechatApiResponse
+ {
+ public static class Types
+ {
+ public class Shop
+ {
+ public static class Types
+ {
+ public class BaseInfo
+ {
+ ///
+ /// 获取或设置小店 AppId。
+ ///
+ [Newtonsoft.Json.JsonProperty("appid")]
+ [System.Text.Json.Serialization.JsonPropertyName("appid")]
+ public string AppId { get; set; } = default!;
+
+ ///
+ /// 获取或设置小店昵称。
+ ///
+ [Newtonsoft.Json.JsonProperty("nickname")]
+ [System.Text.Json.Serialization.JsonPropertyName("nickname")]
+ public string Nickname { get; set; } = default!;
+
+ ///
+ /// 获取或设置小店头像 URL。
+ ///
+ [Newtonsoft.Json.JsonProperty("headimg_url")]
+ [System.Text.Json.Serialization.JsonPropertyName("headimg_url")]
+ public string HeadImageUrl { get; set; } = default!;
+ }
+ }
+
+ ///
+ /// 获取或设置合作状态。
+ ///
+ [Newtonsoft.Json.JsonProperty("status")]
+ [System.Text.Json.Serialization.JsonPropertyName("status")]
+ public int Status { get; set; }
+
+ ///
+ /// 获取或设置小店基础信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("base_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("base_info")]
+ public Types.BaseInfo BaseInfo { get; set; } = default!;
+ }
+ }
+
+ ///
+ /// 获取或设置合作小店列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("shop_list")]
+ [System.Text.Json.Serialization.JsonPropertyName("shop_list")]
+ public Types.Shop[] ShopList { get; set; } = default!;
+
+ ///
+ /// 获取或设置是否还有更多。
+ ///
+ [Newtonsoft.Json.JsonProperty("has_more")]
+ [System.Text.Json.Serialization.JsonPropertyName("has_more")]
+ public bool HasMore { get; set; }
+
+ ///
+ /// 获取或设置翻页标记。
+ ///
+ [Newtonsoft.Json.JsonProperty("next_key")]
+ [System.Text.Json.Serialization.JsonPropertyName("next_key")]
+ public string? NextCursor { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowAddRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowAddRequest.cs
index 74465008..25887f14 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowAddRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowAddRequest.cs
@@ -13,7 +13,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public long ProductId { get; set; }
///
- /// 获取或设置团长的 AppId。
+ /// 获取或设置小店 AppId。
///
[Newtonsoft.Json.JsonProperty("appid")]
[System.Text.Json.Serialization.JsonPropertyName("appid")]
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetAllRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetAllRequest.cs
index 749cea22..c1530a85 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetAllRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetAllRequest.cs
@@ -6,7 +6,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public class ChannelsECLeagueHeadSupplierWindowGetAllRequest : WechatApiRequest, IInferable
{
///
- /// 获取或设置团长的 AppId。
+ /// 获取或设置小店 AppId。
///
[Newtonsoft.Json.JsonProperty("appid")]
[System.Text.Json.Serialization.JsonPropertyName("appid")]
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetAllResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetAllResponse.cs
index 2d6546c5..2e81ec46 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetAllResponse.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetAllResponse.cs
@@ -10,7 +10,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public class Product
{
///
- /// 获取或设置团长的 AppId。
+ /// 获取或设置小店 AppId。
///
[Newtonsoft.Json.JsonProperty("appid")]
[System.Text.Json.Serialization.JsonPropertyName("appid")]
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetDetailRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetDetailRequest.cs
index a2d4420e..0d483168 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetDetailRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetDetailRequest.cs
@@ -13,7 +13,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public long ProductId { get; set; }
///
- /// 获取或设置团长的 AppId。
+ /// 获取或设置小店 AppId。
///
[Newtonsoft.Json.JsonProperty("appid")]
[System.Text.Json.Serialization.JsonPropertyName("appid")]
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetDetailResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetDetailResponse.cs
index 38957581..8e96e8aa 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetDetailResponse.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowGetDetailResponse.cs
@@ -61,6 +61,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
}
}
+ ///
+ /// 获取或设置小店 AppId。
+ ///
+ [Newtonsoft.Json.JsonProperty("appid")]
+ [System.Text.Json.Serialization.JsonPropertyName("appid")]
+ public string AppId { get; set; } = default!;
+
///
/// 获取或设置商品 ID。
///
@@ -69,13 +76,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
public long ProductId { get; set; }
- ///
- /// 获取或设置团长的 AppId。
- ///
- [Newtonsoft.Json.JsonProperty("appid")]
- [System.Text.Json.Serialization.JsonPropertyName("appid")]
- public string AppId { get; set; } = default!;
-
///
/// 获取或设置商品信息。
///
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowRemoveRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowRemoveRequest.cs
index cd8b0aad..a8b773c9 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowRemoveRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECLeague/HeadSupplier/Window/ChannelsECLeagueHeadSupplierWindowRemoveRequest.cs
@@ -13,7 +13,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public long ProductId { get; set; }
///
- /// 获取或设置团长的 AppId。
+ /// 获取或设置小店 AppId。
///
[Newtonsoft.Json.JsonProperty("appid")]
[System.Text.Json.Serialization.JsonPropertyName("appid")]
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/ChannelsEC/ChannelsECHeadSupplierItemUpdateEvent.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/ChannelsEC/ChannelsECHeadSupplierItemUpdateEvent.json
new file mode 100644
index 00000000..a3ff8e76
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/ChannelsEC/ChannelsECHeadSupplierItemUpdateEvent.json
@@ -0,0 +1,14 @@
+{
+ "ToUserName": "gh_*",
+ "FromUserName": "OPENID",
+ "CreateTime": 1662480000,
+ "MsgType": "event",
+ "Event": "head_supplier_item_update",
+ "item_info": {
+ "event_type": 2,
+ "appid": "APPID",
+ "product_id": "12345",
+ "version": "1677488955",
+ "update_fields": [ "commission_ratio", "service_ratio", "status", "active_time" ]
+ }
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsBalanceGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsBalanceGetResponse.json
new file mode 100644
index 00000000..170955b4
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsBalanceGetResponse.json
@@ -0,0 +1,4 @@
+{
+ "available_amount": 45331,
+ "pending_amount": 7549
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetRequest.json
new file mode 100644
index 00000000..98400b73
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetRequest.json
@@ -0,0 +1,3 @@
+{
+ "flow_id": "123455"
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse.json
new file mode 100644
index 00000000..0d3fd7c9
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse.json
@@ -0,0 +1,13 @@
+{
+ "errcode": 0,
+ "errmsg": "ok",
+ "funds_flow": {
+ "flow_id": "123455",
+ "funds_type": 2,
+ "amount": 4,
+ "balance": 139,
+ "bookkeeping_time": "2023-02-11 15:45:39",
+ "remark": "分账",
+ "order_id": "123455678"
+ }
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetRequest.json
new file mode 100644
index 00000000..d3cb3a34
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetRequest.json
@@ -0,0 +1,3 @@
+{
+ "page_size": 2
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetResponse.json
new file mode 100644
index 00000000..7a0cdd25
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Funds/ChannelsECLeagueHeadSupplierFundsFlowListGetResponse.json
@@ -0,0 +1,10 @@
+{
+ "errcode": 0,
+ "errmsg": "ok",
+ "flow_ids": [
+ "123243",
+ "123124134"
+ ],
+ "has_more": true,
+ "next_key": "CImf4J0GENq46tOEhuIR"
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetRequest.json
new file mode 100644
index 00000000..af58a064
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetRequest.json
@@ -0,0 +1,4 @@
+{
+ "product_id": 12345,
+ "appid": "test"
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetResponse.json
new file mode 100644
index 00000000..123dc12e
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemGetResponse.json
@@ -0,0 +1,32 @@
+{
+ "errcode": 0,
+ "errmsg": "ok",
+ "item": {
+ "appid": "test",
+ "product_id": 12345,
+ "product_info": {
+ "title": "test_title",
+ "sub_title": "",
+ "head_imgs": [
+ "https://test.com/0"
+ ],
+ "desc_info": {
+ "imgs": [
+ "https://test.com/0"
+ ],
+ "desc": ""
+ },
+ "cats": [
+ {
+ "cat_id": "1421"
+ },
+ {
+ "cat_id": "1443"
+ },
+ {
+ "cat_id": "1452"
+ }
+ ]
+ }
+ }
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetRequest.json
new file mode 100644
index 00000000..d3cb3a34
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetRequest.json
@@ -0,0 +1,3 @@
+{
+ "page_size": 2
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetResponse.json
new file mode 100644
index 00000000..461a5d65
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Item/ChannelsECLeagueHeadSupplierItemListGetResponse.json
@@ -0,0 +1,15 @@
+{
+ "errcode": 0,
+ "errmsg": "ok",
+ "list": [
+ {
+ "appid": "test",
+ "product_id": "12345"
+ },
+ {
+ "appid": "test",
+ "product_id": "123456"
+ }
+ ],
+ "has_more": true
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetRequest.json
new file mode 100644
index 00000000..620d8085
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetRequest.json
@@ -0,0 +1,4 @@
+{
+ "order_id": "123",
+ "sku_id": "12345"
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetResponse.json
new file mode 100644
index 00000000..63bdbfb8
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderGetResponse.json
@@ -0,0 +1,34 @@
+{
+ "errcode": 0,
+ "errmsg": "ok",
+ "commssion_order": {
+ "order_id": "123",
+ "sku_id": "12345",
+ "create_time": 1675855175,
+ "update_time": 1675855217,
+ "status": 20,
+ "order_detail": {
+ "shop_info": {
+ "appid": "wxxxx"
+ },
+ "product_info": {
+ "product_id": "12345",
+ "thumb_img": "https://test.com/0",
+ "title": "test_123",
+ "actual_payment": 100
+ },
+ "order_info": {
+ "order_status": 20
+ },
+ "commission_info": {
+ "finder_info": {
+ "nickname": "finder",
+ "ratio": 100000,
+ "amount": 10
+ },
+ "service_ratio": 300000,
+ "service_amount": 30
+ }
+ }
+ }
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetRequest.json
new file mode 100644
index 00000000..a202f749
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetRequest.json
@@ -0,0 +1,7 @@
+{
+ "page_size": 1,
+ "create_time_range": {
+ "start_time": 1676375581,
+ "end_time": 1676375754
+ }
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetResponse.json
new file mode 100644
index 00000000..d808217a
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Order/ChannelsECLeagueHeadSupplierOrderListGetResponse.json
@@ -0,0 +1,11 @@
+{
+ "errcode": 0,
+ "errmsg": "ok",
+ "list": [
+ {
+ "order_id": "123",
+ "sku_id": "1234"
+ }
+ ],
+ "has_more": true
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetRequest.json
new file mode 100644
index 00000000..8b6cfff5
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetRequest.json
@@ -0,0 +1,3 @@
+{
+ "appid": "wxtest123"
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetResponse.json
new file mode 100644
index 00000000..2a0add16
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopGetResponse.json
@@ -0,0 +1,21 @@
+{
+ "errcode": 0,
+ "errmsg": "ok",
+ "shop_detail": {
+ "base_info": {
+ "appid": "wxtest1234",
+ "headimg_url": "headimg_url_test",
+ "nickname": "test1234"
+ },
+ "data_info": {
+ "gmv": 1850,
+ "product_number": 2,
+ "settle_amount": 39,
+ "unsettle_amount": 119,
+ "product_number_today": 0,
+ "product_number_sold_today": 0
+ },
+ "status": 2,
+ "approved_time": 100
+ }
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetRequest.json
new file mode 100644
index 00000000..3cac32f7
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetRequest.json
@@ -0,0 +1,3 @@
+{
+ "page_size": 1
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetResponse.json
new file mode 100644
index 00000000..89539f2c
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECLeague/HeadSupplier/Shop/ChannelsECLeagueHeadSupplierShopListGetResponse.json
@@ -0,0 +1,14 @@
+{
+ "errcode": 0,
+ "errmsg": "ok",
+ "shop_list": [
+ {
+ "base_info": {
+ "appid": "wxtest1234",
+ "headimg_url": "headimg_url_test",
+ "nickname": "test1234"
+ },
+ "status": 2
+ }
+ ]
+}