mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-04-05 17:37:54 +08:00
feat(wxapi): 新增视频号小店团长数据相关接口
This commit is contained in:
parent
24366c108d
commit
6e02b04f8d
@ -0,0 +1,65 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 EVENT.head_supplier_item_update 事件的数据。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/callback/head_supplier_item_update.html </para>
|
||||
/// </summary>
|
||||
public class ChannelsECHeadSupplierItemUpdateEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class EventData
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置事件类型。
|
||||
/// </summary>
|
||||
[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; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
[System.Xml.Serialization.XmlElement("appid")]
|
||||
public string AppId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[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; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品版本号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("version")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("version")]
|
||||
[System.Xml.Serialization.XmlElement("version")]
|
||||
public string? Version { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品变更字段列表。
|
||||
/// </summary>
|
||||
[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; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置事件数据。
|
||||
/// </summary>
|
||||
[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!;
|
||||
}
|
||||
}
|
@ -2043,6 +2043,194 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
#endregion
|
||||
|
||||
#region ECLeague/HeadSupplier
|
||||
#region ECLeague/HeadSupplier/Funds
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /channels/ec/league/headsupplier/funds/balance/get 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getbalance.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<Models.ChannelsECLeagueHeadSupplierFundsBalanceGetResponse> 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<Models.ChannelsECLeagueHeadSupplierFundsBalanceGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /channels/ec/league/headsupplier/funds/flowdetail/get 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getfundsflowdeatail.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<Models.ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse> 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<Models.ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /channels/ec/league/headsupplier/funds/flowlist/get 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getfundsflowlist.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<Models.ChannelsECLeagueHeadSupplierFundsFlowListGetResponse> 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<Models.ChannelsECLeagueHeadSupplierFundsFlowListGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ECLeague/HeadSupplier/Shop
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /channels/ec/league/headsupplier/shop/list/get 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getshoplist.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<Models.ChannelsECLeagueHeadSupplierShopListGetResponse> 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<Models.ChannelsECLeagueHeadSupplierShopListGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /channels/ec/league/headsupplier/shop/get 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getshop.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<Models.ChannelsECLeagueHeadSupplierShopGetResponse> 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<Models.ChannelsECLeagueHeadSupplierShopGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ECLeague/HeadSupplier/Item
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /channels/ec/league/headsupplier/item/list/get 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getitemlist.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<Models.ChannelsECLeagueHeadSupplierItemListGetResponse> 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<Models.ChannelsECLeagueHeadSupplierItemListGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /channels/ec/league/headsupplier/item/get 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getitem.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<Models.ChannelsECLeagueHeadSupplierItemGetResponse> 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<Models.ChannelsECLeagueHeadSupplierItemGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ECLeague/HeadSupplier/Order
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /channels/ec/league/headsupplier/order/list/get 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getorderlist.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<Models.ChannelsECLeagueHeadSupplierOrderListGetResponse> 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<Models.ChannelsECLeagueHeadSupplierOrderListGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /channels/ec/league/headsupplier/order/get 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/channels/API/leagueheadsupplier/getorder.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<Models.ChannelsECLeagueHeadSupplierOrderGetResponse> 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<Models.ChannelsECLeagueHeadSupplierOrderGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ECLeague/HeadSupplier/Window
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /channels/ec/league/headsupplier/window/add 接口。</para>
|
||||
|
@ -0,0 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/funds/balance/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierFundsBalanceGetRequest : WechatApiRequest, IInferable<ChannelsECLeagueHeadSupplierFundsBalanceGetRequest, ChannelsECLeagueHeadSupplierFundsBalanceGetResponse>
|
||||
{
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/funds/balance/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierFundsBalanceGetResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置可用余额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("available_amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("available_amount")]
|
||||
public int AvailableAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置待结算余额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("pending_amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("pending_amount")]
|
||||
public int PendingAmount { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/funds/flowdetail/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierFundsFlowDetailGetRequest : WechatApiRequest, IInferable<ChannelsECLeagueHeadSupplierFundsFlowDetailGetRequest, ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置资金流水单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("flow_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("flow_id")]
|
||||
public string FundsFlowId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/funds/flowdetail/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierFundsFlowDetailGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class FundsFlow
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置资金流水单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("flow_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("flow_id")]
|
||||
public string FundsFlowId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置资金类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("funds_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("funds_type")]
|
||||
public int FundsType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置流水类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("flow_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("flow_type")]
|
||||
public int FlowType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("amount")]
|
||||
public int Amount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置余额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("balance")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("balance")]
|
||||
public int Balance { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置备注。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("remark")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("remark")]
|
||||
public string? Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置记账时间。
|
||||
/// </summary>
|
||||
[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; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置关联订单号。
|
||||
/// </summary>
|
||||
[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; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置关联提现单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("withdraw_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("withdraw_id")]
|
||||
public string? WithdrawId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置资金流水信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("funds_flow")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("funds_flow")]
|
||||
public Types.FundsFlow FundsFlow { get; set; } = default!;
|
||||
}
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/funds/flowlist/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierFundsFlowListGetRequest : WechatApiRequest, IInferable<ChannelsECLeagueHeadSupplierFundsFlowListGetRequest, ChannelsECLeagueHeadSupplierFundsFlowListGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置资金类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("funds_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("funds_type")]
|
||||
public int? FundsType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置流水产生的开始时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("start_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("start_time")]
|
||||
public long? StartTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置流水产生的结束时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("end_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("end_time")]
|
||||
public long? EndTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置关联支付单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("transaction_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("transaction_id")]
|
||||
public string? TransactionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分页页数。
|
||||
/// <para>默认值:1</para>
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("page")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("page")]
|
||||
public int Page { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分页每页数量。
|
||||
/// <para>默认值:10</para>
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("page_size")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("page_size")]
|
||||
public int Limit { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置翻页标记。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("next_key")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("next_key")]
|
||||
public string? Cursor { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/funds/flowlist/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierFundsFlowListGetResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置资金流水单号列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("flow_ids")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("flow_ids")]
|
||||
public string[] FundsFlowIdList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否还有更多。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("has_more")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("has_more")]
|
||||
public bool HasMore { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置翻页标记。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("next_key")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("next_key")]
|
||||
public string? NextCursor { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/item/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierItemGetRequest : WechatApiRequest, IInferable<ChannelsECLeagueHeadSupplierItemGetRequest, ChannelsECLeagueHeadSupplierItemGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string AppId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[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; }
|
||||
}
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/item/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
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
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品详情信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("desc_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("desc_info")]
|
||||
public new Types.Detail Detail { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品类目列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("cats")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("cats")]
|
||||
public new Types.Category[] CategoryList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string AppId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[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; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_info")]
|
||||
public Types.ProductInfo ProductInfo { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("item")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("item")]
|
||||
public Types.Product Product { get; set; } = default!;
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/item/list/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierItemListGetRequest : WechatApiRequest, IInferable<ChannelsECLeagueHeadSupplierItemListGetRequest, ChannelsECLeagueHeadSupplierItemListGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string? AppId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分页每页数量。
|
||||
/// <para>默认值:10</para>
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("page_size")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("page_size")]
|
||||
public int Limit { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置翻页标记。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("next_key")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("next_key")]
|
||||
public string? Cursor { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/item/list/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierItemListGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Product
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string AppId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[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; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("list")]
|
||||
public Types.Product[] ProductList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否还有更多。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("has_more")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("has_more")]
|
||||
public bool HasMore { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置翻页标记。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("next_key")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("next_key")]
|
||||
public string? NextCursor { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/order/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierOrderGetRequest : WechatApiRequest, IInferable<ChannelsECLeagueHeadSupplierOrderGetRequest, ChannelsECLeagueHeadSupplierOrderGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置订单 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
|
||||
public long OrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_id")]
|
||||
public long SKUId { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,212 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/order/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
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
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string AppId { get; set; } = default!;
|
||||
}
|
||||
|
||||
public class ProductInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[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; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品缩略图 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("thumb_img")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("thumb_img")]
|
||||
public string ThumbnailUrl { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品标题。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("title")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("title")]
|
||||
public string Title { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置可分佣金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("actual_payment")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("actual_payment")]
|
||||
public int ActualPayAmount { get; set; }
|
||||
}
|
||||
|
||||
public class OrderInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置订单状态。
|
||||
/// </summary>
|
||||
[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
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置达人昵称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("nickname")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
|
||||
public string Nickname { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金费率(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("ratio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("ratio")]
|
||||
public int CommissionRatio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("amount")]
|
||||
public int CommissionAmount { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置达人信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("finder_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("finder_info")]
|
||||
public Types.FinderInfo FinderInfo { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置服务费率(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("service_ratio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("service_ratio")]
|
||||
public int ServiceRatio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置服务费用(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("service_amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("service_amount")]
|
||||
public int ServiceAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置结算时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("profit_sharding_suc_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("profit_sharding_suc_time")]
|
||||
public long ProfitShardingSuccessTimestamp { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小店商家信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shop_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shop_info")]
|
||||
public Types.ShopInfo ShopInfo { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品详情。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_info")]
|
||||
public Types.ProductInfo ProductInfo { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_info")]
|
||||
public Types.OrderInfo OrderInfo { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分佣信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("commission_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("commission_info")]
|
||||
public Types.CommissionInfo CommissionInfo { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单 ID。
|
||||
/// </summary>
|
||||
[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; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU ID。
|
||||
/// </summary>
|
||||
[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; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金单状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置创建时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("create_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("create_time")]
|
||||
public long CreateTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置更新时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("update_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("update_time")]
|
||||
public long UpdateTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单详情。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_detail")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_detail")]
|
||||
public Types.OrderDetail OrderDetail { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金单信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("commssion_order")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("commssion_order")]
|
||||
public Types.CommssionOrder CommssionOrder { get; set; } = default!;
|
||||
}
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/order/list/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierOrderListGetRequest : WechatApiRequest, IInferable<ChannelsECLeagueHeadSupplierOrderListGetRequest, ChannelsECLeagueHeadSupplierOrderListGetResponse>
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class TimeRange
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置开始时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("start_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("start_time")]
|
||||
public long StartTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置结束时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("end_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("end_time")]
|
||||
public long EndTimestamp { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string? AppId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置视频号唯一标识。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("finder_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("finder_id")]
|
||||
public string? FinderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置创建时间范围。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("create_time_range")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("create_time_range")]
|
||||
public Types.TimeRange? CreateTimeRange { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置更新时间范围。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("update_time_range")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("update_time_range")]
|
||||
public Types.TimeRange? UpdateTimeRange { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
|
||||
public long? OrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分页每页数量。
|
||||
/// <para>默认值:10</para>
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("page_size")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("page_size")]
|
||||
public int Limit { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置翻页标记。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("next_key")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("next_key")]
|
||||
public string? Cursor { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/order/list/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierOrderListGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Order
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置订单 ID。
|
||||
/// </summary>
|
||||
[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; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU ID。
|
||||
/// </summary>
|
||||
[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; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("list")]
|
||||
public Types.Order[] OrderList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否还有更多。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("has_more")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("has_more")]
|
||||
public bool HasMore { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置翻页标记。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("next_key")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("next_key")]
|
||||
public string? NextCursor { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/shop/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierShopGetRequest : WechatApiRequest, IInferable<ChannelsECLeagueHeadSupplierShopGetRequest, ChannelsECLeagueHeadSupplierShopGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string AppId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/shop/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
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
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置合作动销 GMV(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("gmv")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("gmv")]
|
||||
public int GMV { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置历史合作商品数。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_number")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_number")]
|
||||
public int ProductCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置今日新增合作商品数。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_number_today")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_number_today")]
|
||||
public int ProductCountToday { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置今日动销商品数。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_number_sold_today")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_number_sold_today")]
|
||||
public int ProductCountSoldToday { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置已结算服务费(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("settle_amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("settle_amount")]
|
||||
public int SettleAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置预计待结算服务费(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("unsettle_amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("unsettle_amount")]
|
||||
public int UnsettleAmount { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置合作状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置开始合作时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("approved_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("approved_time")]
|
||||
public long ApprovedTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小店基础信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("base_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("base_info")]
|
||||
public Types.BaseInfo BaseInfo { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小店数据信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("data_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("data_info")]
|
||||
public Types.DataInfo DataInfo { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置合作小店信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shop_detail")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shop_detail")]
|
||||
public Types.Shop Shop { get; set; } = default!;
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/shop/list/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierShopListGetRequest : WechatApiRequest, IInferable<ChannelsECLeagueHeadSupplierShopListGetRequest, ChannelsECLeagueHeadSupplierShopListGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分页每页数量。
|
||||
/// <para>默认值:10</para>
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("page_size")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("page_size")]
|
||||
public int Limit { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置翻页标记。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("next_key")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("next_key")]
|
||||
public string? Cursor { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/league/headsupplier/shop/list/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECLeagueHeadSupplierShopListGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Shop
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class BaseInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string AppId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小店昵称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("nickname")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
|
||||
public string Nickname { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小店头像 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("headimg_url")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("headimg_url")]
|
||||
public string HeadImageUrl { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置合作状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小店基础信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("base_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("base_info")]
|
||||
public Types.BaseInfo BaseInfo { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置合作小店列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shop_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shop_list")]
|
||||
public Types.Shop[] ShopList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否还有更多。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("has_more")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("has_more")]
|
||||
public bool HasMore { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置翻页标记。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("next_key")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("next_key")]
|
||||
public string? NextCursor { get; set; }
|
||||
}
|
||||
}
|
@ -13,7 +13,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public long ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置团长的 AppId。
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
|
@ -6,7 +6,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public class ChannelsECLeagueHeadSupplierWindowGetAllRequest : WechatApiRequest, IInferable<ChannelsECLeagueHeadSupplierWindowGetAllRequest, ChannelsECLeagueHeadSupplierWindowGetAllResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置团长的 AppId。
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
|
@ -10,7 +10,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public class Product
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置团长的 AppId。
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
|
@ -13,7 +13,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public long ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置团长的 AppId。
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
|
@ -61,6 +61,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string AppId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
@ -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; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置团长的 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string AppId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品信息。
|
||||
/// </summary>
|
||||
|
@ -13,7 +13,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public long ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置团长的 AppId。
|
||||
/// 获取或设置小店 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
|
@ -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" ]
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"available_amount": 45331,
|
||||
"pending_amount": 7549
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"flow_id": "123455"
|
||||
}
|
@ -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"
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"page_size": 2
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"flow_ids": [
|
||||
"123243",
|
||||
"123124134"
|
||||
],
|
||||
"has_more": true,
|
||||
"next_key": "CImf4J0GENq46tOEhuIR"
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"product_id": 12345,
|
||||
"appid": "test"
|
||||
}
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"page_size": 2
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"list": [
|
||||
{
|
||||
"appid": "test",
|
||||
"product_id": "12345"
|
||||
},
|
||||
{
|
||||
"appid": "test",
|
||||
"product_id": "123456"
|
||||
}
|
||||
],
|
||||
"has_more": true
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"order_id": "123",
|
||||
"sku_id": "12345"
|
||||
}
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"page_size": 1,
|
||||
"create_time_range": {
|
||||
"start_time": 1676375581,
|
||||
"end_time": 1676375754
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"list": [
|
||||
{
|
||||
"order_id": "123",
|
||||
"sku_id": "1234"
|
||||
}
|
||||
],
|
||||
"has_more": true
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"appid": "wxtest123"
|
||||
}
|
@ -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
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"page_size": 1
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"shop_list": [
|
||||
{
|
||||
"base_info": {
|
||||
"appid": "wxtest1234",
|
||||
"headimg_url": "headimg_url_test",
|
||||
"nickname": "test1234"
|
||||
},
|
||||
"status": 2
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user