mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 10:08:20 +08:00
feat(wxapi): 移除微信小店相关接口
This commit is contained in:
@@ -1,705 +0,0 @@
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Flurl;
|
||||
using Flurl.Http;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
{
|
||||
public static class WechatApiClientExecuteMerchantExtensions
|
||||
{
|
||||
#region Product
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/create 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantCreateResponse> ExecuteMerchantCreateAsync(this WechatApiClient client, Models.MerchantCreateRequest 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, "merchant", "create")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantCreateResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/del 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantDeleteResponse> ExecuteMerchantDeleteAsync(this WechatApiClient client, Models.MerchantDeleteRequest 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, "merchant", "del")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantDeleteResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/update 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantUpdateResponse> ExecuteMerchantUpdateAsync(this WechatApiClient client, Models.MerchantUpdateRequest 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, "merchant", "update")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantUpdateResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [GET] /merchant/get 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantGetResponse> ExecuteMerchantGetAsync(this WechatApiClient client, Models.MerchantGetRequest 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.Get, "merchant", "get")
|
||||
.SetQueryParam("access_token", request.AccessToken)
|
||||
.SetQueryParam("product_id", request.ProductId);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/getbystatus 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantGetByStatusResponse> ExecuteMerchantGetByStatusAsync(this WechatApiClient client, Models.MerchantGetByStatusRequest 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, "merchant", "getbystatus")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantGetByStatusResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/modproductstatus 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantModifyProductStatusResponse> ExecuteMerchantModifyProductStatusAsync(this WechatApiClient client, Models.MerchantModifyProductStatusRequest 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, "merchant", "modproductstatus")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantModifyProductStatusResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Category
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/category/getsub 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantCategoryGetSubResponse> ExecuteMerchantCategoryGetSubAsync(this WechatApiClient client, Models.MerchantCategoryGetSubRequest 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, "merchant", "category", "getsub")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantCategoryGetSubResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/category/getsku 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantCategoryGetSKUResponse> ExecuteMerchantCategoryGetSKUAsync(this WechatApiClient client, Models.MerchantCategoryGetSKURequest 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, "merchant", "category", "getsku")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantCategoryGetSKUResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/category/getproperty 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantCategoryGetPropertyResponse> ExecuteMerchantCategoryGetPropertyAsync(this WechatApiClient client, Models.MerchantCategoryGetPropertyRequest 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, "merchant", "category", "getproperty")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantCategoryGetPropertyResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Stock
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/stock/add 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantStockAddResponse> ExecuteMerchantStockAddAsync(this WechatApiClient client, Models.MerchantStockAddRequest 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, "merchant", "stock", "add")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantStockAddResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/stock/reduce 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantStockReduceResponse> ExecuteMerchantStockReduceAsync(this WechatApiClient client, Models.MerchantStockReduceRequest 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, "merchant", "stock", "reduce")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantStockReduceResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Express
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/express/add 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantExpressAddResponse> ExecuteMerchantExpressAddAsync(this WechatApiClient client, Models.MerchantExpressAddRequest 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, "merchant", "express", "add")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantExpressAddResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/express/del 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantExpressDeleteResponse> ExecuteMerchantExpressDeleteAsync(this WechatApiClient client, Models.MerchantExpressDeleteRequest 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, "merchant", "express", "del")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantExpressDeleteResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/express/update 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantExpressUpdateResponse> ExecuteMerchantExpressUpdateAsync(this WechatApiClient client, Models.MerchantExpressUpdateRequest 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, "merchant", "express", "update")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantExpressUpdateResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/express/getbyid 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantExpressGetByIdResponse> ExecuteMerchantExpressGetByIdAsync(this WechatApiClient client, Models.MerchantExpressGetByIdRequest 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, "merchant", "express", "getbyid")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantExpressGetByIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [GET] /merchant/express/getall 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantExpressGetAllResponse> ExecuteMerchantExpressGetAllAsync(this WechatApiClient client, Models.MerchantExpressGetAllRequest 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.Get, "merchant", "express", "getall")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantExpressGetAllResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Group
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/group/add 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantGroupAddResponse> ExecuteMerchantGroupAddAsync(this WechatApiClient client, Models.MerchantGroupAddRequest 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, "merchant", "group", "add")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantGroupAddResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/group/del 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantGroupDeleteResponse> ExecuteMerchantGroupDeleteAsync(this WechatApiClient client, Models.MerchantGroupDeleteRequest 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, "merchant", "group", "del")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantGroupDeleteResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/group/propertymod 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantGroupPropertyModifyResponse> ExecuteMerchantGroupPropertyModifyAsync(this WechatApiClient client, Models.MerchantGroupPropertyModifyRequest 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, "merchant", "group", "propertymod")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantGroupPropertyModifyResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/group/productmod 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantGroupProductModifyResponse> ExecuteMerchantGroupProductModifyAsync(this WechatApiClient client, Models.MerchantGroupProductModifyRequest 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, "merchant", "group", "productmod")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantGroupProductModifyResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/group/getbyid 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantGroupGetByIdResponse> ExecuteMerchantGroupGetByIdAsync(this WechatApiClient client, Models.MerchantGroupGetByIdRequest 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, "merchant", "group", "getbyid")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantGroupGetByIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [GET] /merchant/group/getall 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantGroupGetAllResponse> ExecuteMerchantGroupGetAllAsync(this WechatApiClient client, Models.MerchantGroupGetAllRequest 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.Get, "merchant", "group", "getall")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantGroupGetAllResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Shelf
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/shelf/add 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantShelfAddResponse> ExecuteMerchantShelfAddAsync(this WechatApiClient client, Models.MerchantShelfAddRequest 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, "merchant", "shelf", "add")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantShelfAddResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/shelf/del 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantShelfDeleteResponse> ExecuteMerchantShelfDeleteAsync(this WechatApiClient client, Models.MerchantShelfDeleteRequest 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, "merchant", "shelf", "del")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantShelfDeleteResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/shelf/mod 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantShelfModifyResponse> ExecuteMerchantShelfModifyAsync(this WechatApiClient client, Models.MerchantShelfModifyRequest 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, "merchant", "shelf", "mod")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantShelfModifyResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/shelf/getbyid 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantShelfGetByIdResponse> ExecuteMerchantShelfGetByIdAsync(this WechatApiClient client, Models.MerchantShelfGetByIdRequest 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, "merchant", "shelf", "getbyid")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantShelfGetByIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [GET] /merchant/shelf/getall 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantShelfGetAllResponse> ExecuteMerchantShelfGetAllAsync(this WechatApiClient client, Models.MerchantShelfGetAllRequest 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.Get, "merchant", "shelf", "getall")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantShelfGetAllResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Order
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/order/getbyid 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantOrderGetByIdResponse> ExecuteMerchantOrderGetByIdAsync(this WechatApiClient client, Models.MerchantOrderGetByIdRequest 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, "merchant", "order", "getbyid")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantOrderGetByIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/order/getbyfilter 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantOrderGetByFilterResponse> ExecuteMerchantOrderGetByFilterAsync(this WechatApiClient client, Models.MerchantOrderGetByFilterRequest 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, "merchant", "order", "getbyfilter")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantOrderGetByFilterResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/order/setdelivery 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantOrderSetDeliveryResponse> ExecuteMerchantOrderSetDeliveryAsync(this WechatApiClient client, Models.MerchantOrderSetDeliveryRequest 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, "merchant", "order", "setdelivery")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantOrderSetDeliveryResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/order/close 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantOrderCloseResponse> ExecuteMerchantOrderCloseAsync(this WechatApiClient client, Models.MerchantOrderCloseRequest 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, "merchant", "order", "close")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.MerchantOrderCloseResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Common
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /merchant/common/upload_img 接口。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html </para>
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public static async Task<Models.MerchantCommonUploadImageResponse> ExecuteMerchantCommonUploadImageAsync(this WechatApiClient client, Models.MerchantCommonUploadImageRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (request.FileName == null)
|
||||
request.FileName = Guid.NewGuid().ToString("N").ToLower() + ".png";
|
||||
|
||||
IFlurlRequest flurlReq = client
|
||||
.CreateRequest(request, HttpMethod.Post, "merchant", "common", "upload_img")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
using var httpContent = new ByteArrayContent(request.FileBytes ?? Array.Empty<byte>());
|
||||
httpContent.Headers.ContentType = MediaTypeHeaderValue.Parse("image/png");
|
||||
|
||||
return await client.SendRequestAsync<Models.MerchantCommonUploadImageResponse>(flurlReq, httpContent: httpContent, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/category/getproperty 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantCategoryGetPropertyRequest : WechatApiRequest, IInferable<MerchantCategoryGetPropertyRequest, MerchantCategoryGetPropertyResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品分类 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("cate_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("cate_id")]
|
||||
public string CategoryId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -1,65 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/category/getproperty 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantCategoryGetPropertyResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Property
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Value
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置属性值 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public string Id { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public string Id { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("property_value")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("property_value")]
|
||||
public Types.Value[] ValueList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("properties")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("properties")]
|
||||
public Types.Property[] PropertyList { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/category/getsku 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantCategoryGetSKURequest : WechatApiRequest, IInferable<MerchantCategoryGetSKURequest, MerchantCategoryGetSKUResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品分类 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("cate_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("cate_id")]
|
||||
public string CategoryId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -1,65 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/category/getsku 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantCategoryGetSKUResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class SKU
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Value
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置 VID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public string Id { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 VID 名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public string Id { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU 名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU VID 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("value_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("value_list")]
|
||||
public Types.Value[] ValueList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_table")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_table")]
|
||||
public Types.SKU[] SKUList { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/category/getsub 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantCategoryGetSubRequest : WechatApiRequest, IInferable<MerchantCategoryGetSubRequest, MerchantCategoryGetSubResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品分类 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("cate_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("cate_id")]
|
||||
public string CategoryId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -1,39 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/category/getsub 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantCategoryGetSubResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Category
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分类 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalStringConverter))]
|
||||
public string Id { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分类名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品分类列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("cate_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("cate_list")]
|
||||
public Types.Category[] CategoryList { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/common/upload_img 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantCommonUploadImageRequest : WechatApiRequest, IInferable<MerchantCommonUploadImageRequest, MerchantCommonUploadImageResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置图片文件字节数组。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public byte[] FileBytes { get; set; } = Array.Empty<byte>();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图片文件名。如果不指定将由系统自动生成。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public string? FileName { get; set; }
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/common/upload_img 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantCommonUploadImageResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置图片 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("image_url")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("image_url")]
|
||||
public string ImageUrl { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,135 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/express/add 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantExpressAddRequest : WechatApiRequest, IInferable<MerchantExpressAddRequest, MerchantExpressAddResponse>
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Template
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Charging
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置快递类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Type")]
|
||||
public int Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置默认邮费计算方法。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Normal")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Normal")]
|
||||
public NormalCharging Normal { get; set; } = new NormalCharging();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置指定地区邮费计算方法。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Custom")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Custom")]
|
||||
public IList<CustomCharging> CustomList { get; set; } = new List<CustomCharging>();
|
||||
}
|
||||
|
||||
public class NormalCharging
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置起始计费数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("StartStandards")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("StartStandards")]
|
||||
public int StartStandards { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置起始计费金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("StartFees")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("StartFees")]
|
||||
public int StartFee { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置递增计费数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("AddStandards")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("AddStandards")]
|
||||
public int AddStandards { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置递增计费金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("AddFees")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("AddFees")]
|
||||
public int AddFee { get; set; }
|
||||
}
|
||||
|
||||
public class CustomCharging : NormalCharging
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置目的地国家。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("DestCountry")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("DestCountry")]
|
||||
public string DestinationCountry { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置目的地省份。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("DestProvince")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("DestProvince")]
|
||||
public string DestinationProvince { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置目的地城市。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("DestCity")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("DestCity")]
|
||||
public string DestinationCity { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置模板名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置支付方式。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Assumer")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Assumer")]
|
||||
public int Assumer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置计费方式。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Valuation")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Valuation")]
|
||||
public int Valuation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置运费计算列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("TopFee")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("TopFee")]
|
||||
public IList<Types.Charging> ChargingList { get; set; } = new List<Types.Charging>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_template")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_template")]
|
||||
public Types.Template Template { get; set; } = new Types.Template();
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/express/add 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantExpressAddResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("template_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("template_id")]
|
||||
public long TemplateId { get; set; }
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/express/del 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantExpressDeleteRequest : WechatApiRequest, IInferable<MerchantExpressDeleteRequest, MerchantExpressDeleteResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("template_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("template_id")]
|
||||
public long TemplateId { get; set; }
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/express/del 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantExpressDeleteResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /merchant/express/getall 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantExpressGetAllRequest : WechatApiRequest, IInferable<MerchantExpressGetAllRequest, MerchantExpressGetAllResponse>
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /merchant/express/getall 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantExpressGetAllResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Template : MerchantExpressGetByIdResponse.Types.Template
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("templates_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("templates_info")]
|
||||
public Types.Template[] TemplateList { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/express/getbyid 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantExpressGetByIdRequest : WechatApiRequest, IInferable<MerchantExpressGetByIdRequest, MerchantExpressGetByIdResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("template_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("template_id")]
|
||||
public long TemplateId { get; set; }
|
||||
}
|
||||
}
|
@@ -1,94 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/express/getbyid 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantExpressGetByIdResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Template
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Charging
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置快递类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Type")]
|
||||
public int Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置默认邮费计算方法。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Normal")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Normal")]
|
||||
public NormalCharging Normal { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置指定地区邮费计算方法。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Custom")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Custom")]
|
||||
public CustomCharging[] CustomList { get; set; } = default!;
|
||||
}
|
||||
|
||||
public class NormalCharging : MerchantExpressAddRequest.Types.Template.Types.NormalCharging
|
||||
{
|
||||
}
|
||||
|
||||
public class CustomCharging : MerchantExpressAddRequest.Types.Template.Types.CustomCharging
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Id")]
|
||||
public long TemplateId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置模板名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Name")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置支付方式。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Assumer")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Assumer")]
|
||||
public int Assumer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置计费方式。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Valuation")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Valuation")]
|
||||
public int Valuation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置运费计算列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("TopFee")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("TopFee")]
|
||||
public Types.Charging[] ChargingList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("template_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("template_info")]
|
||||
public Types.Template Template { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,32 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/express/update 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantExpressUpdateRequest : WechatApiRequest, IInferable<MerchantExpressUpdateRequest, MerchantExpressUpdateResponse>
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Template : MerchantExpressAddRequest.Types.Template
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("template_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("template_id")]
|
||||
public long TemplateId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_template")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_template")]
|
||||
public Types.Template Template { get; set; } = new Types.Template();
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/express/update 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantExpressUpdateResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,39 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/group/add 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupAddRequest : WechatApiRequest, IInferable<MerchantGroupAddRequest, MerchantGroupAddResponse>
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Group
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分组名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_list")]
|
||||
public IList<string> ProductIdList { get; set; } = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_detail")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_detail")]
|
||||
public Types.Group Group { get; set; } = new Types.Group();
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/group/add 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupAddResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分组 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_id")]
|
||||
public long GroupId { get; set; }
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/group/del 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupDeleteRequest : WechatApiRequest, IInferable<MerchantGroupDeleteRequest, MerchantGroupDeleteResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分组 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_id")]
|
||||
public long GroupId { get; set; }
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/group/del 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupDeleteResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /merchant/group/getall 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupGetAllRequest : WechatApiRequest, IInferable<MerchantGroupGetAllRequest, MerchantGroupGetAllResponse>
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,38 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /merchant/group/getall 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupGetAllResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Group
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分组 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_id")]
|
||||
public long GroupId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_name")]
|
||||
public string Name { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("groups_detail")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("groups_detail")]
|
||||
public Types.Group[] GroupList { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/group/getbyid 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupGetByIdRequest : WechatApiRequest, IInferable<MerchantGroupGetByIdRequest, MerchantGroupGetByIdResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分组 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_id")]
|
||||
public long GroupId { get; set; }
|
||||
}
|
||||
}
|
@@ -1,45 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/group/getbyid 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupGetByIdResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Group
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分组 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_id")]
|
||||
public long GroupId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_name")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_list")]
|
||||
public string[] ProductIdList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_detail")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_detail")]
|
||||
public Types.Group Group { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,46 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/group/productmod 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupProductModifyRequest : WechatApiRequest, IInferable<MerchantGroupProductModifyRequest, MerchantGroupProductModifyResponse>
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Product
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
|
||||
public string ProductId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置修改操作。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("mod_action")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("mod_action")]
|
||||
public int Action { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_id")]
|
||||
public long GroupId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product")]
|
||||
public IList<Types.Product> ProductList { get; set; } = new List<Types.Product>();
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/group/productmod 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupProductModifyResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/group/propertymod 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupPropertyModifyRequest : WechatApiRequest, IInferable<MerchantGroupPropertyModifyRequest, MerchantGroupPropertyModifyResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分组 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_id")]
|
||||
public long GroupId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_name")]
|
||||
public string GroupName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/group/propertymod 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGroupPropertyModifyResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/order/close 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantOrderCloseRequest : WechatApiRequest, IInferable<MerchantOrderCloseRequest, MerchantOrderCloseResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置订单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
|
||||
public string OrderId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/order/close 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantOrderCloseResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,32 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/order/getbyfilter 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantOrderGetByFilterRequest : WechatApiRequest, IInferable<MerchantOrderGetByFilterRequest, MerchantOrderGetByFilterResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置指定订单状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int? Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置指定订单创建时间起始时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("begintime")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("begintime")]
|
||||
public long? BeginTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置指定订单创建时间终止时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("endtime")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("endtime")]
|
||||
public long? EndTimestamp { get; set; }
|
||||
}
|
||||
}
|
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/order/getbyfilter 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantOrderGetByFilterResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Order : MerchantOrderGetByIdResponse.Types.Order
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_list")]
|
||||
public Types.Order[] OrderList { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/order/getbyid 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantOrderGetByIdRequest : WechatApiRequest, IInferable<MerchantOrderGetByIdRequest, MerchantOrderGetByIdResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置订单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
|
||||
public string OrderId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -1,240 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/order/getbyid 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantOrderGetByIdResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Order
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Product
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
|
||||
public string ProductId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_name")]
|
||||
public string ProductName { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品名称(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_price")]
|
||||
public int ProductPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 SKU 信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_sku")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_sku")]
|
||||
public string ProductSKUInformation { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_count")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_count")]
|
||||
public int ProductCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品图片 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_img")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_img")]
|
||||
public string ProductImageUrl { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
|
||||
public string OrderId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_status")]
|
||||
public int OrderStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单总金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_total_price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_total_price")]
|
||||
public int OrderTotalFee { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单创建时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_create_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_create_time")]
|
||||
public int OrderCreateTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单运费(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_express_price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_express_price")]
|
||||
public int OrderExpressFee { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置买家 OpenId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("buyer_openid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("buyer_openid")]
|
||||
public string? BuyerOpenId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置买家昵称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("buyer_nick")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("buyer_nick")]
|
||||
public string? BuyerNickname { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收货人姓名。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("receiver_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("receiver_name")]
|
||||
public string? ReceiverName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收货人省份。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("receiver_province")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("receiver_province")]
|
||||
public string? ReceiverProvince { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收货人城市。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("receiver_city")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("receiver_city")]
|
||||
public string? ReceiverCity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收货人区县。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("receiver_zone")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("receiver_zone")]
|
||||
public string? ReceiverDistrict { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收货人地址。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("receiver_address")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("receiver_address")]
|
||||
public string? ReceiverAddress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收货人手机号码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("receiver_mobile")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("receiver_mobile")]
|
||||
public string? ReceiverMobileNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收货人固话号码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("receiver_phone")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("receiver_phone")]
|
||||
public string? ReceiverTeleNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
|
||||
public string? ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_name")]
|
||||
public string? ProductName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品名称(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_price")]
|
||||
public int? ProductPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 SKU 信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_sku")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_sku")]
|
||||
public string? ProductSKUInformation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_count")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_count")]
|
||||
public int? ProductCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品图片 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_img")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_img")]
|
||||
public string? ProductImageUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("products")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("products")]
|
||||
public Types.Product[]? ProductList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置物流公司编码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_company")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_company")]
|
||||
public string? DeliveryCompany { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置运单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_id")]
|
||||
public string? DeliveryId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置微信支付交易订单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("trans_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("trans_id")]
|
||||
public string? TransactionId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order")]
|
||||
public Types.Order Order { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,50 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/order/setdelivery 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantOrderSetDeliveryRequest : WechatApiRequest, IInferable<MerchantOrderSetDeliveryRequest, MerchantOrderSetDeliveryResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置订单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
|
||||
public string OrderId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置物流公司编码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_company")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_company")]
|
||||
public string? DeliveryCompany { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置运单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_track_no")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_track_no")]
|
||||
public string? DeliveryId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否需要物流。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("need_delivery")]
|
||||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.NumericalNullableBooleanConverter))]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("need_delivery")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalNullableBooleanConverter))]
|
||||
public bool? RequireDelivery { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否其他物流公司。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("is_others")]
|
||||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.NumericalNullableBooleanConverter))]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_others")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalNullableBooleanConverter))]
|
||||
public bool? IsOtherCompany { get; set; }
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/order/setdelivery 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantOrderSetDeliveryResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,325 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/create 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantCreateRequest : WechatApiRequest, IInferable<MerchantCreateRequest, MerchantCreateResponse>
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Base
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Detail
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置文字描述。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("text")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("text")]
|
||||
public string? Text { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图片 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("img")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("img")]
|
||||
public string? ImageUrl { get; set; }
|
||||
}
|
||||
|
||||
public class Property
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置属性 Id。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public string Id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值 Id。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("vid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("vid")]
|
||||
public string ValueId { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class SKUValue
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU Id。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public string Id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU VID 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("vid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("vid")]
|
||||
public IList<string> ValueIdList { get; set; } = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品分类 ID 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("category_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("category_id")]
|
||||
public IList<string> CategoryIdList { get; set; } = new List<string>();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品主图 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("main_img")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("main_img")]
|
||||
public string MainImageUrl { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品图片 URL 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("img")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("img")]
|
||||
public IList<string> ImageUrlList { get; set; } = new List<string>();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品详情列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("detail")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("detail")]
|
||||
public IList<Types.Detail> DetailList { get; set; } = new List<Types.Detail>();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品属性列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("property")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("property")]
|
||||
public IList<Types.Property> PropertyList { get; set; } = new List<Types.Property>();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 SKU 定义列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_info")]
|
||||
public IList<Types.SKUValue> SKUValueList { get; set; } = new List<Types.SKUValue>();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置用户商品限购数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("buy_limit")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("buy_limit")]
|
||||
public int? BuyLimit { get; set; }
|
||||
}
|
||||
|
||||
public class SKU
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU Id。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_id")]
|
||||
public string Id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置原价(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("ori_price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("ori_price")]
|
||||
public int OriginalPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置微信价(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("price")]
|
||||
public int Price { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图标 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("icon_url")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("icon_url")]
|
||||
public string IconUrl { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置库存。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("quantity")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("quantity")]
|
||||
public int Quantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商家商品编码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_code")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_code")]
|
||||
public string ProductCode { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class AttributeExtra
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Location
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置国家。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("country")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("country")]
|
||||
public string Country { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置省份。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("province")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("province")]
|
||||
public string Province { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置城市。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("city")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("city")]
|
||||
public string City { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置地址。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("address")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("address")]
|
||||
public string Address { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品所在地地址。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("location")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("location")]
|
||||
public Types.Location? Location { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否包邮。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("isPostFree")]
|
||||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.NumericalBooleanConverter))]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("isPostFree")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalBooleanConverter))]
|
||||
public bool IsPostFree { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否提供发票。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("isHasReceipt")]
|
||||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.NumericalBooleanConverter))]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("isHasReceipt")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalBooleanConverter))]
|
||||
public bool IsHasFree { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否保修。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("isUnderGuaranty")]
|
||||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.NumericalBooleanConverter))]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("isUnderGuaranty")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalBooleanConverter))]
|
||||
public bool IsUnderGuaranty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否支持退换货。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("isSupportReplace")]
|
||||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.NumericalBooleanConverter))]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("isSupportReplace")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalBooleanConverter))]
|
||||
public bool IsSupportReplace { get; set; }
|
||||
}
|
||||
|
||||
public class Delivery
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Express
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置快递公司 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置运费(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("price")]
|
||||
public int Price { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置运费类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_type")]
|
||||
public int DeliveryType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("template_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("template_id")]
|
||||
public int? TemplateId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("express")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("express")]
|
||||
public IList<Types.Express>? ExpressList { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品基本信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_base")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_base")]
|
||||
public Types.Base Base { get; set; } = new Types.Base();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_list")]
|
||||
public IList<Types.SKU>? SKUList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品其他属性。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("attrext")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("attrext")]
|
||||
public Types.AttributeExtra? AttributeExtra { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置运费信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_info")]
|
||||
public Types.Delivery? Delivery { get; set; }
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/create 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantCreateResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
|
||||
public string ProductId { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/del 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantDeleteRequest : WechatApiRequest, IInferable<MerchantDeleteRequest, MerchantDeleteResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
|
||||
public string ProductId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/del 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantDeleteResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/getbystatus 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGetByStatusRequest : WechatApiRequest, IInferable<MerchantGetByStatusRequest, MerchantGetByStatusResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置指定商品状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int Status { get; set; }
|
||||
}
|
||||
}
|
@@ -1,31 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/getbystatus 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGetByStatusResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Product : MerchantGetResponse.Types.Product
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int Status { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("products_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("products_info")]
|
||||
public Types.Product[] ProductList { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /merchant/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGetRequest : WechatApiRequest, IInferable<MerchantGetRequest, MerchantGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public string ProductId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -1,184 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /merchant/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Product
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Base
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Property : MerchantCreateRequest.Types.Base.Types.Property
|
||||
{
|
||||
}
|
||||
|
||||
public class SKUProperty
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置属性 Id。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public string Id { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值 Id 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("vid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("vid")]
|
||||
public string[] ValueIdList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品分类 ID 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("category_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("category_id")]
|
||||
public string[] CategoryIdList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品主图 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("main_img")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("main_img")]
|
||||
public string MainImageUrl { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品图片 URL 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("img")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("img")]
|
||||
public string[] ImageUrlList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品详情 HTML。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("detail_html")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("detail_html")]
|
||||
public string DetailHtml { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品属性列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("property")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("property")]
|
||||
public Types.Property[] PropertyList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 SKU 定义列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_info")]
|
||||
public Types.SKUProperty[] SKUPropertyList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置用户商品限购数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("buy_limit")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("buy_limit")]
|
||||
public int? BuyLimit { get; set; }
|
||||
}
|
||||
|
||||
public class SKU : MerchantCreateRequest.Types.SKU
|
||||
{
|
||||
}
|
||||
|
||||
public class AttributeExtra : MerchantCreateRequest.Types.AttributeExtra
|
||||
{
|
||||
}
|
||||
|
||||
public class Delivery
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Express : MerchantCreateRequest.Types.Delivery.Types.Express
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置运费类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_type")]
|
||||
public int DeliveryType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置邮费模板 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("template_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("template_id")]
|
||||
public int? TemplateId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("express")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("express")]
|
||||
public Types.Express[]? ExpressList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
|
||||
public string ProductId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品基本信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_base")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_base")]
|
||||
public Types.Base Base { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_list")]
|
||||
public Types.SKU[] SKUList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品其他属性。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("attrext")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("attrext")]
|
||||
public Types.AttributeExtra AttributeExtra { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置运费信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_info")]
|
||||
public Types.Delivery? Delivery { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_info")]
|
||||
public Types.Product Product { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/modproductstatus 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantModifyProductStatusRequest : WechatApiRequest, IInferable<MerchantModifyProductStatusRequest, MerchantModifyProductStatusResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
|
||||
public string ProductId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int Status { get; set; }
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/modproductstatus 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantModifyProductStatusResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,66 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/update 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantUpdateRequest : WechatApiRequest, IInferable<MerchantUpdateRequest, MerchantUpdateResponse>
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Base : MerchantCreateRequest.Types.Base
|
||||
{
|
||||
}
|
||||
|
||||
public class SKU : MerchantCreateRequest.Types.SKU
|
||||
{
|
||||
}
|
||||
|
||||
public class AttributeExtra : MerchantCreateRequest.Types.AttributeExtra
|
||||
{
|
||||
}
|
||||
|
||||
public class Delivery : MerchantCreateRequest.Types.Delivery
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
|
||||
public string ProductId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品基本信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_base")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_base")]
|
||||
public Types.Base Base { get; set; } = new Types.Base();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_list")]
|
||||
public IList<Types.SKU>? SKUList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品其他属性。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("attrext")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("attrext")]
|
||||
public Types.AttributeExtra? AttributeExtra { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置运费信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_info")]
|
||||
public Types.Delivery? Delivery { get; set; }
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/update 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantUpdateResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,130 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/shelf/add 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantShelfAddRequest : WechatApiRequest, IInferable<MerchantShelfAddRequest, MerchantShelfAddResponse>
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class ShelfData
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Module
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Group
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Filter
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置展示商品个数。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("count")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("count")]
|
||||
public int? Count { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组 Id。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_id")]
|
||||
public long GroupId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组图片 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("img")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("img")]
|
||||
public string? ImageUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组条件信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("filter")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("filter")]
|
||||
public Types.Filter? Filter { get; set; }
|
||||
}
|
||||
|
||||
public class Groups
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分组列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("groups")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("groups")]
|
||||
public IList<Group> GroupList { get; set; } = new List<Group>();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组背景图片 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("img_background")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("img_background")]
|
||||
public string? BackgroundImageUrl { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置控件 Id。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("eid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("eid")]
|
||||
public long ElementId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置单个分组信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_info")]
|
||||
public Types.Group? Group { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置多个分组信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_infos")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_infos")]
|
||||
public Types.Groups? Groups { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架控件列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("module_infos")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("module_infos")]
|
||||
public IList<Types.Module> ModuleList { get; set; } = new List<Types.Module>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架数据。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_data")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_data")]
|
||||
public Types.ShelfData ShelfData { get; set; } = new Types.ShelfData();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架 Banner URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_banner")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_banner")]
|
||||
public string ShelfBannerUrl { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_name")]
|
||||
public string ShelfName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/shelf/add 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantShelfAddResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置货架 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_id")]
|
||||
public long ShelfId { get; set; }
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/shelf/del 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantShelfDeleteRequest : WechatApiRequest, IInferable<MerchantShelfDeleteRequest, MerchantShelfDeleteResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置货架 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_id")]
|
||||
public long ShelfId { get; set; }
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/shelf/del 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantShelfDeleteResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /merchant/shelf/getall 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantShelfGetAllRequest : WechatApiRequest, IInferable<MerchantShelfGetAllRequest, MerchantShelfGetAllResponse>
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,59 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /merchant/shelf/getall 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantShelfGetAllResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Shelf
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class ShelfData : MerchantShelfGetByIdResponse.Types.ShelfData
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_id")]
|
||||
public long ShelfId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架数据。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_info")]
|
||||
public Types.ShelfData ShelfData { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架 Banner URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_banner")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_banner")]
|
||||
public string ShelfBannerUrl { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_name")]
|
||||
public string ShelfName { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelves")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelves")]
|
||||
public Types.Shelf[] ShelfList { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/shelf/getbyid 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantShelfGetByIdRequest : WechatApiRequest, IInferable<MerchantShelfGetByIdRequest, MerchantShelfGetByIdResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置货架 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_id")]
|
||||
public long ShelfId { get; set; }
|
||||
}
|
||||
}
|
@@ -1,136 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/shelf/getbyid 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantShelfGetByIdResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class ShelfData
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Module
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Group
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Filter
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置展示商品个数。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("count")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("count")]
|
||||
public int? Count { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组 Id。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_id")]
|
||||
public long GroupId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组图片 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("img")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("img")]
|
||||
public string? ImageUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组条件信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("filter")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("filter")]
|
||||
public Types.Filter? Filter { get; set; }
|
||||
}
|
||||
|
||||
public class Groups
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分组列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("groups")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("groups")]
|
||||
public Group[] GroupList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分组背景图片 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("img_background")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("img_background")]
|
||||
public string? BackgroundImageUrl { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置控件 Id。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("eid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("eid")]
|
||||
public long ElementId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置单个分组信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_info")]
|
||||
public Types.Group? Group { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置多个分组信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("group_infos")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_infos")]
|
||||
public Types.Groups? Groups { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架控件列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("module_infos")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("module_infos")]
|
||||
public Types.Module[] ModuleList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_id")]
|
||||
public long ShelfId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架数据。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_info")]
|
||||
public Types.ShelfData ShelfData { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架 Banner URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_banner")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_banner")]
|
||||
public string ShelfBannerUrl { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_name")]
|
||||
public string ShelfName { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -1,46 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/shelf/mod 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantShelfModifyRequest : WechatApiRequest, IInferable<MerchantShelfModifyRequest, MerchantShelfModifyResponse>
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class ShelfData : MerchantShelfAddRequest.Types.ShelfData
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_id")]
|
||||
public long ShelfId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架数据。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_data")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_data")]
|
||||
public Types.ShelfData ShelfData { get; set; } = new Types.ShelfData();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架 Banner URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_banner")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_banner")]
|
||||
public string ShelfBannerUrl { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置货架名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("shelf_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("shelf_name")]
|
||||
public string ShelfName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/shelf/mod 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantShelfModifyResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,32 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/stock/add 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantStockAddRequest : WechatApiRequest, IInferable<MerchantStockAddRequest, MerchantStockAddResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
|
||||
public string ProductId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU 信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_info")]
|
||||
public string SKUInformation { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置增加的库存数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("quantity")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("quantity")]
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/stock/add 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantStockAddResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,32 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/stock/reduce 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantStockReduceRequest : WechatApiRequest, IInferable<MerchantStockReduceRequest, MerchantStockReduceResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
|
||||
public string ProductId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 SKU 信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sku_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sku_info")]
|
||||
public string SKUInformation { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置减少的库存数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("quantity")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("quantity")]
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /merchant/stock/reduce 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
|
||||
public class MerchantStockReduceResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"cate_id": "537074292"
|
||||
}
|
@@ -1,33 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"properties": [
|
||||
{
|
||||
"id": "1075741879",
|
||||
"name": "品牌",
|
||||
"property_value": [
|
||||
{
|
||||
"id": "200050867",
|
||||
"name": "VIC&"
|
||||
},
|
||||
{
|
||||
"id": "200050868",
|
||||
"name": "Kate&"
|
||||
},
|
||||
{
|
||||
"id": "200050971",
|
||||
"name": "M&"
|
||||
},
|
||||
{
|
||||
"id": "200050972",
|
||||
"name": "Black&"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "123456789",
|
||||
"name": "颜色",
|
||||
"property_value": []
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"cate_id": "537074292"
|
||||
}
|
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"sku_table": [
|
||||
{
|
||||
"id": "1075741873",
|
||||
"name": "颜色",
|
||||
"value_list": [
|
||||
{
|
||||
"id": "1079742375",
|
||||
"name": "撞色"
|
||||
},
|
||||
{
|
||||
"id": "1079742376",
|
||||
"name": "桔色"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"cate_id": "537874913"
|
||||
}
|
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"cate_list": [
|
||||
{
|
||||
"id": "537074292",
|
||||
"name": "数码相机"
|
||||
},
|
||||
{
|
||||
"id": "537074293",
|
||||
"name": "家用摄像机"
|
||||
},
|
||||
{
|
||||
"id": "537074298",
|
||||
"name": "单反相机"
|
||||
},
|
||||
{
|
||||
"id": "537082412",
|
||||
"name": "镜头"
|
||||
},
|
||||
{
|
||||
"id": "537102001",
|
||||
"name": "单电/微单"
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"image_url": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2ibl4JWwwnW3icSJGqecVtRiaPxwWEIr99eYYL6AAAp1YBo12CpQTXFH6InyQWXITLvU4CU7kic4PcoXA/0"
|
||||
}
|
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"group_detail": {
|
||||
"group_name": "测试分组",
|
||||
"product_list": [
|
||||
"pDF3iY9cEWyMimNlKbik_NYJTzYU",
|
||||
"pDF3iY4kpZagQfwJ_LVQBaOC-LsM"
|
||||
]
|
||||
}
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"group_id": 19
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"group_id": 19
|
||||
}
|
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"groups_detail": [
|
||||
{
|
||||
"group_id": 200077549,
|
||||
"group_name": "最新上架"
|
||||
},
|
||||
{
|
||||
"group_id": 200079772,
|
||||
"group_name": "全球热卖"
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"group_id": 29
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"group_detail": {
|
||||
"group_id": 200077549,
|
||||
"group_name": "最新上架",
|
||||
"product_list": [
|
||||
"pDF3iYzZoY-Budrzt8O6IxrwIJAA",
|
||||
"pDF3iY3pnWSGJcO2MpS2Nxy3HWx8",
|
||||
"pDF3iY33jNt0Dj3M3UqiGlUxGrio"
|
||||
]
|
||||
}
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"group_id": 28,
|
||||
"product": [
|
||||
{
|
||||
"product_id": "pDF3iY-CgqlAL3k8Ilz-6sj0UYpk",
|
||||
"mod_action": 1
|
||||
},
|
||||
{
|
||||
"product_id": "pDF3iY-RewlAL3k8Ilz-6sjsepp9",
|
||||
"mod_action": 0
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"group_id": 28,
|
||||
"group_name": "特惠专场"
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"order_id": "7197417460812584720"
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"status": 2,
|
||||
"begintime": 1397130460,
|
||||
"endtime": 1397130470
|
||||
}
|
@@ -1,74 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"order_list": [
|
||||
{
|
||||
"order_id": "7197417460812533543",
|
||||
"order_status": 6,
|
||||
"order_total_price": 6,
|
||||
"order_create_time": 1394635817,
|
||||
"order_express_price": 5,
|
||||
"buyer_openid": "oDF3iY17NsDAW4UP2qzJXPsz1S9Q",
|
||||
"buyer_nick": "likeacat",
|
||||
"receiver_name": "张小猫",
|
||||
"receiver_province": "广东省",
|
||||
"receiver_city": "广州市",
|
||||
"receiver_address": "华景路一号南方通信大厦5楼",
|
||||
"receiver_mobile": "123456",
|
||||
"receiver_phone": "123456",
|
||||
"product_id": "pDF3iYx7KDQVGzB7kDg6Tge5OKFo",
|
||||
"product_name": "安莉芳E-BRA专柜女士舒适内衣蕾丝3/4薄杯聚拢上托性感文胸KB0716",
|
||||
"product_price": 1,
|
||||
"product_sku": "10000983:10000995;10001007:10001010",
|
||||
"product_count": 1,
|
||||
"product_img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2icND8WwMThBEcehjhDv2icY4GrDSG5RLM3B2qd9kOicWGVJcsAhvXfibhWRNoGOvCfMC33G9z5yQr2Qw/0",
|
||||
"delivery_id": "1900659372473",
|
||||
"delivery_company": "059Yunda",
|
||||
"trans_id": "1900000109201404103172199813",
|
||||
"products": [
|
||||
{
|
||||
"product_id": "p8BCTv77lY4io_q00F9qsaniimFc",
|
||||
"product_name": "product_name",
|
||||
"product_price": 1,
|
||||
"product_sku": "",
|
||||
"product_count": 1,
|
||||
"product_img": "http://mmbiz.qpic.cn/mmbiz_gif/KfrZwACMrmxj8XRiaTUzFNsTkWdTEJySicGKMHxuG0ibDfjTtb6ZIjNgakbnKq569TbBjvicSnWdnt46gEKjWe6Vcg/0?wx_fmt=gif"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"order_id": "7197417460812533569",
|
||||
"order_status": 8,
|
||||
"order_total_price": 1,
|
||||
"order_create_time": 1394636235,
|
||||
"order_express_price": 0,
|
||||
"buyer_openid": "oDF3iY17NsDAW4UP2qzJXPsz1S9Q",
|
||||
"buyer_nick": "likeacat",
|
||||
"receiver_name": "张小猫",
|
||||
"receiver_province": "广东省",
|
||||
"receiver_city": "广州市",
|
||||
"receiver_address": "华景路一号南方通信大厦5楼",
|
||||
"receiver_mobile": "123456",
|
||||
"receiver_phone": "123456",
|
||||
"product_id": "pDF3iYx7KDQVGzB7kDg6Tge5OKFo",
|
||||
"product_name": "项坠333",
|
||||
"product_price": 1,
|
||||
"product_sku": "1075741873:1079742377",
|
||||
"product_count": 1,
|
||||
"product_img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2icND8WwMThBEcehjhDv2icY4GrDSG5RLM3B2qd9kOicWGVJcsAhvXfibhWRNoGOvCfMC33G9z5yQr2Qw/0",
|
||||
"delivery_id": "1900659372473",
|
||||
"delivery_company": "059Yunda",
|
||||
"trans_id": "1900000109201404103172199813",
|
||||
"products": [
|
||||
{
|
||||
"product_id": "p8BCTv77lY4io_q00F9qsaniimFc",
|
||||
"product_name": "product_name",
|
||||
"product_price": 1,
|
||||
"product_sku": "",
|
||||
"product_count": 1,
|
||||
"product_img": "http://mmbiz.qpic.cn/mmbiz_gif/KfrZwACMrmxj8XRiaTUzFNsTkWdTEJySicGKMHxuG0ibDfjTtb6ZIjNgakbnKq569TbBjvicSnWdnt46gEKjWe6Vcg/0?wx_fmt=gif"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"order_id": "7197417460812584720"
|
||||
}
|
@@ -1,39 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"order": {
|
||||
"order_id": "7197417460812533543",
|
||||
"order_status": 6,
|
||||
"order_total_price": 6,
|
||||
"order_create_time": 1394635817,
|
||||
"order_express_price": 5,
|
||||
"buyer_openid": "oDF3iY17NsDAW4UP2qzJXPsz1S9Q",
|
||||
"buyer_nick": "likeacat",
|
||||
"receiver_name": "张小猫",
|
||||
"receiver_province": "广东省",
|
||||
"receiver_city": "广州市",
|
||||
"receiver_zone": "天河区",
|
||||
"receiver_address": "华景路一号南方通信大厦5楼",
|
||||
"receiver_mobile": "123456789",
|
||||
"receiver_phone": "123456789",
|
||||
"product_id": "pDF3iYx7KDQVGzB7kDg6Tge5OKFo",
|
||||
"product_name": "安莉芳E-BRA专柜女士舒适内衣蕾丝3/4薄杯聚拢上托性感文胸KB0716",
|
||||
"product_price": 1,
|
||||
"product_sku": "10000983:10000995;10001007:10001010",
|
||||
"product_count": 1,
|
||||
"product_img": "http://img2.paipaiimg.com/00000000/item-52B87243-63CCF66C00000000040100003565C1EA.0.300x300.jpg",
|
||||
"delivery_id": "1900659372473",
|
||||
"delivery_company": "059Yunda",
|
||||
"trans_id": "1900000109201404103172199813",
|
||||
"products": [
|
||||
{
|
||||
"product_id": "p8BCTv77lY4io_q00F9qsaniimFc",
|
||||
"product_name": "product_name",
|
||||
"product_price": 1,
|
||||
"product_sku": "",
|
||||
"product_count": 1,
|
||||
"product_img": "http://mmbiz.qpic.cn/mmbiz_gif/KfrZwACMrmxj8XRiaTUzFNsTkWdTEJySicGKMHxuG0ibDfjTtb6ZIjNgakbnKq569TbBjvicSnWdnt46gEKjWe6Vcg/0?wx_fmt=gif"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"order_id": "7197417460812533543",
|
||||
"delivery_company": "059Yunda",
|
||||
"delivery_track_no": "1900659372473",
|
||||
"need_delivery": 1,
|
||||
"is_others": 0
|
||||
}
|
@@ -1,90 +0,0 @@
|
||||
{
|
||||
"product_base": {
|
||||
"category_id": ["537074298"],
|
||||
"property": [
|
||||
{
|
||||
"id": "1075741879",
|
||||
"vid": "1079749967"
|
||||
},
|
||||
{
|
||||
"id": "1075754127",
|
||||
"vid": "1079795198"
|
||||
},
|
||||
{
|
||||
"id": "1075777334",
|
||||
"vid": "1079837440"
|
||||
}
|
||||
],
|
||||
"name": "testaddproduct",
|
||||
"sku_info": [
|
||||
{
|
||||
"id": "1075741873",
|
||||
"vid": ["1079742386", "1079742363"]
|
||||
}
|
||||
],
|
||||
"main_img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0",
|
||||
"img": [
|
||||
"http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0"
|
||||
],
|
||||
"detail": [
|
||||
{
|
||||
"text": "test first"
|
||||
},
|
||||
{
|
||||
"img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ul1UcLcwxrFdwTKYhH9Q5YZoCfX4Ncx655ZK6ibnlibCCErbKQtReySaVA/0"
|
||||
},
|
||||
{
|
||||
"text": "test again"
|
||||
}
|
||||
],
|
||||
"buy_limit": 10
|
||||
},
|
||||
"sku_list": [
|
||||
{
|
||||
"sku_id": "1075741873:1079742386",
|
||||
"price": 30,
|
||||
"icon_url": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl28bJj62XgfHPibY3ORKicN1oJ4CcoIr4BMbfA8LqyyjzOZzqrOGz3f5KWq1QGP3fo6TOTSYD3TBQjuw/0",
|
||||
"product_code": "testing",
|
||||
"ori_price": 9000000,
|
||||
"quantity": 800
|
||||
},
|
||||
{
|
||||
"sku_id": "1075741873:1079742363",
|
||||
"price": 30,
|
||||
"icon_url": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl28bJj62XgfHPibY3ORKicN1oJ4CcoIr4BMbfA8LqyyjzOZzqrOGz3f5KWq1QGP3fo6TOTSYD3TBQjuw/0",
|
||||
"product_code": "testingtesting",
|
||||
"ori_price": 9000000,
|
||||
"quantity": 800
|
||||
}
|
||||
],
|
||||
"attrext": {
|
||||
"location": {
|
||||
"country": "中国",
|
||||
"province": "广东省",
|
||||
"city": "广州市",
|
||||
"address": "T.I.T创意园"
|
||||
},
|
||||
"isPostFree": 0,
|
||||
"isHasReceipt": 1,
|
||||
"isUnderGuaranty": 0,
|
||||
"isSupportReplace": 0
|
||||
},
|
||||
"delivery_info": {
|
||||
"delivery_type": 0,
|
||||
"template_id": 0,
|
||||
"express": [
|
||||
{
|
||||
"id": 10000027,
|
||||
"price": 100
|
||||
},
|
||||
{
|
||||
"id": 10000028,
|
||||
"price": 100
|
||||
},
|
||||
{
|
||||
"id": 10000029,
|
||||
"price": 100
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"product_id": "pDF3iYwktviE3BzU3BKiSWWi9Nkw"
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"product_id": "pDF3iYwktviE3BzU3BKiSWWi9Nkw"
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"status": 0
|
||||
}
|
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"products_info": [
|
||||
{
|
||||
"product_base": {},
|
||||
"sku_list": [],
|
||||
"attrext": {},
|
||||
"delivery_info": {},
|
||||
"product_id": "pDF3iY-mql6CncpbVajaB_obC3Bk",
|
||||
"status": 1
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,71 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"product_info": {
|
||||
"product_id": "pDF3iY6Kr_BV_CXaiYysoGqJhppQ",
|
||||
"product_base": {
|
||||
"name": "testaddproduct",
|
||||
"category_id": ["537074298"],
|
||||
"img": [
|
||||
"http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0"
|
||||
],
|
||||
"property": [
|
||||
{
|
||||
"id": "品牌",
|
||||
"vid": "Fujifilm/富士"
|
||||
},
|
||||
{
|
||||
"id": "屏幕尺寸",
|
||||
"vid": "1.8英寸"
|
||||
},
|
||||
{
|
||||
"id": "防抖性能",
|
||||
"vid": "CCD防抖"
|
||||
}
|
||||
],
|
||||
"sku_info": [
|
||||
{
|
||||
"id": "1075741873",
|
||||
"vid": ["1079742386", "1079742363"]
|
||||
}
|
||||
],
|
||||
"buy_limit": 10,
|
||||
"main_img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0",
|
||||
"detail_html": "<div class=\"item_pic_wrp\" style=\"margin-bottom:8px;font-size:0;\"><img class=\"item_pic\" style=\"width:100%;\" alt=\"\" src=\"http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0\" ></div><p style=\"margin-bottom:11px;margin-top:11px;\">test</p><div class=\"item_pic_wrp\" style=\"margin-bottom:8px;font-size:0;\"><img class=\"item_pic\" style=\"width:100%;\" alt=\"\" src=\"http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ul1UcLcwxrFdwTKYhH9Q5YZoCfX4Ncx655ZK6ibnlibCCErbKQtReySaVA/0\" ></div><p style=\"margin-bottom:11px;margin-top:11px;\">test again</p>"
|
||||
},
|
||||
"sku_list": [
|
||||
{
|
||||
"sku_id": "1075741873:1079742386",
|
||||
"price": 30,
|
||||
"icon_url": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0",
|
||||
"quantity": 800,
|
||||
"product_code": "testing",
|
||||
"ori_price": 9000000
|
||||
},
|
||||
{
|
||||
"sku_id": "1075741873:1079742363",
|
||||
"price": 30,
|
||||
"icon_url": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl28bJj62XgfHPibY3ORKicN1oJ4CcoIr4BMbfA8LqyyjzOZzqrOGz3f5KWq1QGP3fo6TOTSYD3TBQjuw/0",
|
||||
"quantity": 800,
|
||||
"product_code": "testingtesting",
|
||||
"ori_price": 9000000
|
||||
}
|
||||
],
|
||||
"attrext": {
|
||||
"isPostFree": 0,
|
||||
"isHasReceipt": 1,
|
||||
"isUnderGuaranty": 0,
|
||||
"isSupportReplace": 0,
|
||||
"location": {
|
||||
"country": "中国",
|
||||
"province": "广东省",
|
||||
"city": "广州市",
|
||||
"address": "T.I.T创意园"
|
||||
}
|
||||
},
|
||||
"delivery_info": {
|
||||
"delivery_type": 1,
|
||||
"template_id": 103312920
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"product_id": "p0FfkjnSNm4NQj0_4a9l9MtRRxzA",
|
||||
"status": 0
|
||||
}
|
@@ -1,85 +0,0 @@
|
||||
{
|
||||
"product_id": "pDF3iY6Kr_BV_CXaiYysoGqJhppQ",
|
||||
"product_base": {
|
||||
"category_id": ["537074298"],
|
||||
"property": [
|
||||
{
|
||||
"id": "1075741879",
|
||||
"vid": "1079749967"
|
||||
},
|
||||
{
|
||||
"id": "1075754127",
|
||||
"vid": "1079795198"
|
||||
},
|
||||
{
|
||||
"id": "1075777334",
|
||||
"vid": "1079837440"
|
||||
}
|
||||
],
|
||||
"name": "testaddproduct",
|
||||
"sku_info": [
|
||||
{
|
||||
"id": "1075741873",
|
||||
"vid": ["1079742386", "1079742363"]
|
||||
}
|
||||
],
|
||||
"main_img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0",
|
||||
"img": [
|
||||
"http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0"
|
||||
],
|
||||
"detail": [
|
||||
{
|
||||
"img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ul1UcLcwxrFdwTKYhH9Q5YZoCfX4Ncx655ZK6ibnlibCCErbKQtReySaVA/0"
|
||||
}
|
||||
],
|
||||
"buy_limit": 3
|
||||
},
|
||||
"sku_list": [
|
||||
{
|
||||
"sku_id": "1075741873:1079742386",
|
||||
"price": 30,
|
||||
"icon_url": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0",
|
||||
"product_code": "testing",
|
||||
"ori_price": 9000000,
|
||||
"quantity": 800
|
||||
},
|
||||
{
|
||||
"sku_id": "1075741873:1079742363",
|
||||
"price": 30,
|
||||
"icon_url": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl28bJj62XgfHPibY3ORKicN1oJ4CcoIr4BMbfA8LqyyjzOZzqrOGz3f5KWq1QGP3fo6TOTSYD3TBQjuw/0",
|
||||
"product_code": "testingtesting",
|
||||
"ori_price": 9000000,
|
||||
"quantity": 800
|
||||
}
|
||||
],
|
||||
"attrext": {
|
||||
"location": {
|
||||
"country": "中国",
|
||||
"province": "广东省",
|
||||
"city": "广州市",
|
||||
"address": "T.I.T创意园"
|
||||
},
|
||||
"isPostFree": 0,
|
||||
"isHasReceipt": 1,
|
||||
"isUnderGuaranty": 0,
|
||||
"isSupportReplace": 0
|
||||
},
|
||||
"delivery_info": {
|
||||
"delivery_type": 0,
|
||||
"template_id": 0,
|
||||
"express": [
|
||||
{
|
||||
"id": 10000027,
|
||||
"price": 100
|
||||
},
|
||||
{
|
||||
"id": 10000028,
|
||||
"price": 100
|
||||
},
|
||||
{
|
||||
"id": 10000029,
|
||||
"price": 100
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -1,79 +0,0 @@
|
||||
{
|
||||
"shelf_data": {
|
||||
"module_infos": [
|
||||
{
|
||||
"group_info": {
|
||||
"filter": {
|
||||
"count": 2
|
||||
},
|
||||
"group_id": 50
|
||||
},
|
||||
"eid": 1
|
||||
},
|
||||
{
|
||||
"group_infos": {
|
||||
"groups": [
|
||||
{
|
||||
"group_id": 49
|
||||
},
|
||||
{
|
||||
"group_id": 50
|
||||
},
|
||||
{
|
||||
"group_id": 51
|
||||
}
|
||||
]
|
||||
},
|
||||
"eid": 2
|
||||
},
|
||||
{
|
||||
"group_info": {
|
||||
"group_id": 52,
|
||||
"img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl29nqqObBwFwnIX3licVPnFV5Jm64z4I0TTicv0TjN7Vl9bykUUibYKIOjicAwIt6Oy0Y6a1Rjp5Tos8tg/0"
|
||||
},
|
||||
"eid": 3
|
||||
},
|
||||
{
|
||||
"group_infos": {
|
||||
"groups": [
|
||||
{
|
||||
"group_id": 49,
|
||||
"img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl29nqqObBwFwnIX3licVPnFV5uUQx7TLx4tB9qZfbe3JmqR4NkkEmpb5LUWoXF1ek9nga0IkeSSFZ8g/0"
|
||||
},
|
||||
{
|
||||
"group_id": 50,
|
||||
"img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl29nqqObBwFwnIX3licVPnFV5G1kdy3ViblHrR54gbCmbiaMnl5HpLGm5JFeENyO9FEZAy6mPypEpLibLA/0"
|
||||
},
|
||||
{
|
||||
"group_id": 52,
|
||||
"img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl29nqqObBwFwnIX3licVPnFV5uUQx7TLx4tB9qZfbe3JmqR4NkkEmpb5LUWoXF1ek9nga0IkeSSFZ8g/0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eid": 4
|
||||
},
|
||||
{
|
||||
"group_infos": {
|
||||
"groups": [
|
||||
{
|
||||
"group_id": 43
|
||||
},
|
||||
{
|
||||
"group_id": 44
|
||||
},
|
||||
{
|
||||
"group_id": 45
|
||||
},
|
||||
{
|
||||
"group_id": 46
|
||||
}
|
||||
],
|
||||
"img_background": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl29nqqObBwFwnIX3licVPnFV5uUQx7TLx4tB9qZfbe3JmqR4NkkEmpb5LUWoXF1ek9nga0IkeSSFZ8g/0"
|
||||
},
|
||||
"eid": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"shelf_banner": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2ibrWQn8zWFUh1YznsMV0XEiavFfLzDWYyvQOBBszXlMaiabGWzz5B2KhNn2IDemHa3iarmCyribYlZYyw/0",
|
||||
"shelf_name": "测试货架"
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"shelf_id": 12
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"shelf_id": 19
|
||||
}
|
@@ -1,53 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"shelves": [
|
||||
{
|
||||
"shelf_info": {
|
||||
"module_infos": [
|
||||
{
|
||||
"group_infos": {
|
||||
"groups": [
|
||||
{
|
||||
"group_id": 200080093
|
||||
},
|
||||
{
|
||||
"group_id": 200080118
|
||||
},
|
||||
{
|
||||
"group_id": 200080119
|
||||
},
|
||||
{
|
||||
"group_id": 200080135
|
||||
}
|
||||
],
|
||||
"img_background": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl294FzPwnf9dAcaN7ButStztAZyy2yHY8pW6sTQKicIhAy5F0a2CqmrvDBjMFLtc2aEhAQ7uHsPow9A/0"
|
||||
},
|
||||
"eid": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"shelf_banner": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl294FzPwnf9dAcaN7ButStztAZyy2yHY8pW6sTQKicIhAy5F0a2CqmrvDBjMFLtc2aEhAQ7uHsPow9A/0",
|
||||
"shelf_name": "新新人类",
|
||||
"shelf_id": 22
|
||||
},
|
||||
{
|
||||
"shelf_info": {
|
||||
"module_infos": [
|
||||
{
|
||||
"group_info": {
|
||||
"group_id": 200080119,
|
||||
"filter": {
|
||||
"count": 4
|
||||
}
|
||||
},
|
||||
"eid": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"shelf_banner": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl294FzPwnf9dAcaN7ButStztAZyy2yHY8pW6sTQKicIhAy5F0a2CqmrvDBjMFLtc2aEhAQ7uHsPow9A/0",
|
||||
"shelf_name": "店铺",
|
||||
"shelf_id": 23
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"shelf_id": 19
|
||||
}
|
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "success",
|
||||
"shelf_info": {
|
||||
"module_infos": []
|
||||
},
|
||||
"shelf_banner": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2ibp2DgDXiaic6WdflMpNdInS8qUia2BztlPu1gPlCDLZXEjia2qBdjoLiaCGUno9zbs1UyoqnaTJJGeEew/0",
|
||||
"shelf_name": "新建货架",
|
||||
"shelf_id": 97
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user