From efaad58da09e0a4ff9e4f287a3fd691a45f756a3 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Mon, 31 Oct 2022 22:55:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(wxapi):=20=E6=A0=87=E8=AE=B0=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E5=B0=8F=E5=BA=97=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=8F=8A=E6=A8=A1=E5=9E=8B=E4=B8=BA=E5=B7=B2=E5=BA=9F=E5=BC=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...echatApiClientExecuteMerchantExtensions.cs | 32 +++++++++++++++++++ .../MerchantCategoryGetPropertyRequest.cs | 5 ++- .../MerchantCategoryGetPropertyResponse.cs | 5 ++- .../Category/MerchantCategoryGetSKURequest.cs | 5 ++- .../MerchantCategoryGetSKUResponse.cs | 5 ++- .../Category/MerchantCategoryGetSubRequest.cs | 5 ++- .../MerchantCategoryGetSubResponse.cs | 5 ++- .../MerchantCommonUploadImageRequest.cs | 1 + .../MerchantCommonUploadImageResponse.cs | 5 ++- .../Express/MerchantExpressAddRequest.cs | 4 ++- .../Express/MerchantExpressAddResponse.cs | 5 ++- .../Express/MerchantExpressDeleteRequest.cs | 5 ++- .../Express/MerchantExpressDeleteResponse.cs | 5 ++- .../Express/MerchantExpressGetAllRequest.cs | 5 ++- .../Express/MerchantExpressGetAllResponse.cs | 5 ++- .../Express/MerchantExpressGetByIdRequest.cs | 5 ++- .../Express/MerchantExpressGetByIdResponse.cs | 7 +++- .../Express/MerchantExpressUpdateRequest.cs | 5 ++- .../Express/MerchantExpressUpdateResponse.cs | 5 ++- .../Merchant/Group/MerchantGroupAddRequest.cs | 4 ++- .../Group/MerchantGroupAddResponse.cs | 5 ++- .../Group/MerchantGroupDeleteRequest.cs | 5 ++- .../Group/MerchantGroupDeleteResponse.cs | 5 ++- .../Group/MerchantGroupGetAllRequest.cs | 5 ++- .../Group/MerchantGroupGetAllResponse.cs | 5 ++- .../Group/MerchantGroupGetByIdRequest.cs | 5 ++- .../Group/MerchantGroupGetByIdResponse.cs | 5 ++- .../MerchantGroupProductModifyRequest.cs | 4 ++- .../MerchantGroupProductModifyResponse.cs | 5 ++- .../MerchantGroupPropertyModifyRequest.cs | 5 ++- .../MerchantGroupPropertyModifyResponse.cs | 5 ++- .../Order/MerchantOrderCloseRequest.cs | 5 ++- .../Order/MerchantOrderCloseResponse.cs | 5 ++- .../Order/MerchantOrderGetByFilterRequest.cs | 5 ++- .../Order/MerchantOrderGetByFilterResponse.cs | 5 ++- .../Order/MerchantOrderGetByIdRequest.cs | 5 ++- .../Order/MerchantOrderGetByIdResponse.cs | 5 ++- .../Order/MerchantOrderSetDeliveryRequest.cs | 5 ++- .../Order/MerchantOrderSetDeliveryResponse.cs | 5 ++- .../Merchant/Product/MerchantCreateRequest.cs | 4 ++- .../Product/MerchantCreateResponse.cs | 5 ++- .../Merchant/Product/MerchantDeleteRequest.cs | 5 ++- .../Product/MerchantDeleteResponse.cs | 5 ++- .../Product/MerchantGetByStatusRequest.cs | 5 ++- .../Product/MerchantGetByStatusResponse.cs | 5 ++- .../Merchant/Product/MerchantGetRequest.cs | 5 ++- .../Merchant/Product/MerchantGetResponse.cs | 5 ++- .../MerchantModifyProductStatusRequest.cs | 5 ++- .../MerchantModifyProductStatusResponse.cs | 5 ++- .../Merchant/Product/MerchantUpdateRequest.cs | 8 ++++- .../Product/MerchantUpdateResponse.cs | 5 ++- .../Merchant/Shelf/MerchantShelfAddRequest.cs | 4 ++- .../Shelf/MerchantShelfAddResponse.cs | 5 ++- .../Shelf/MerchantShelfDeleteRequest.cs | 5 ++- .../Shelf/MerchantShelfDeleteResponse.cs | 5 ++- .../Shelf/MerchantShelfGetAllRequest.cs | 5 ++- .../Shelf/MerchantShelfGetAllResponse.cs | 5 ++- .../Shelf/MerchantShelfGetByIdRequest.cs | 5 ++- .../Shelf/MerchantShelfGetByIdResponse.cs | 5 ++- .../Shelf/MerchantShelfModifyRequest.cs | 5 ++- .../Shelf/MerchantShelfModifyResponse.cs | 5 ++- .../Merchant/Stock/MerchantStockAddRequest.cs | 5 ++- .../Stock/MerchantStockAddResponse.cs | 5 ++- .../Stock/MerchantStockReduceRequest.cs | 5 ++- .../Stock/MerchantStockReduceResponse.cs | 5 ++- .../ChannelsECWindowProductOffRequest.json | 4 +++ 66 files changed, 289 insertions(+), 63 deletions(-) create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECWindow/ChannelsECWindowProductOffRequest.json diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteMerchantExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteMerchantExtensions.cs index b0bf7a17..ec8312bd 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteMerchantExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteMerchantExtensions.cs @@ -19,6 +19,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantCreateAsync(this WechatApiClient client, Models.MerchantCreateRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -39,6 +40,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantDeleteAsync(this WechatApiClient client, Models.MerchantDeleteRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -59,6 +61,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantUpdateAsync(this WechatApiClient client, Models.MerchantUpdateRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -79,6 +82,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantGetAsync(this WechatApiClient client, Models.MerchantGetRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -100,6 +104,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantGetByStatusAsync(this WechatApiClient client, Models.MerchantGetByStatusRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -120,6 +125,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantModifyProductStatusAsync(this WechatApiClient client, Models.MerchantModifyProductStatusRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -142,6 +148,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantCategoryGetSubAsync(this WechatApiClient client, Models.MerchantCategoryGetSubRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -162,6 +169,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantCategoryGetSKUAsync(this WechatApiClient client, Models.MerchantCategoryGetSKURequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -182,6 +190,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantCategoryGetPropertyAsync(this WechatApiClient client, Models.MerchantCategoryGetPropertyRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -204,6 +213,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantStockAddAsync(this WechatApiClient client, Models.MerchantStockAddRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -224,6 +234,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantStockReduceAsync(this WechatApiClient client, Models.MerchantStockReduceRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -246,6 +257,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantExpressAddAsync(this WechatApiClient client, Models.MerchantExpressAddRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -266,6 +278,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantExpressDeleteAsync(this WechatApiClient client, Models.MerchantExpressDeleteRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -286,6 +299,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantExpressUpdateAsync(this WechatApiClient client, Models.MerchantExpressUpdateRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -306,6 +320,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantExpressGetByIdAsync(this WechatApiClient client, Models.MerchantExpressGetByIdRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -326,6 +341,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantExpressGetAllAsync(this WechatApiClient client, Models.MerchantExpressGetAllRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -348,6 +364,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantGroupAddAsync(this WechatApiClient client, Models.MerchantGroupAddRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -368,6 +385,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantGroupDeleteAsync(this WechatApiClient client, Models.MerchantGroupDeleteRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -388,6 +406,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantGroupPropertyModifyAsync(this WechatApiClient client, Models.MerchantGroupPropertyModifyRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -408,6 +427,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantGroupProductModifyAsync(this WechatApiClient client, Models.MerchantGroupProductModifyRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -428,6 +448,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantGroupGetByIdAsync(this WechatApiClient client, Models.MerchantGroupGetByIdRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -448,6 +469,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantGroupGetAllAsync(this WechatApiClient client, Models.MerchantGroupGetAllRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -470,6 +492,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantShelfAddAsync(this WechatApiClient client, Models.MerchantShelfAddRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -490,6 +513,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantShelfDeleteAsync(this WechatApiClient client, Models.MerchantShelfDeleteRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -510,6 +534,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantShelfModifyAsync(this WechatApiClient client, Models.MerchantShelfModifyRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -530,6 +555,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantShelfGetByIdAsync(this WechatApiClient client, Models.MerchantShelfGetByIdRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -550,6 +576,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantShelfGetAllAsync(this WechatApiClient client, Models.MerchantShelfGetAllRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -572,6 +599,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantOrderGetByIdAsync(this WechatApiClient client, Models.MerchantOrderGetByIdRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -592,6 +620,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantOrderGetByFilterAsync(this WechatApiClient client, Models.MerchantOrderGetByFilterRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -612,6 +641,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantOrderSetDeliveryAsync(this WechatApiClient client, Models.MerchantOrderSetDeliveryRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -632,6 +662,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantOrderCloseAsync(this WechatApiClient client, Models.MerchantOrderCloseRequest request, CancellationToken cancellationToken = default) { if (client is null) throw new ArgumentNullException(nameof(client)); @@ -654,6 +685,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// /// /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public static async Task ExecuteMerchantCommonUploadImageAsync(this WechatApiClient client, Models.MerchantCommonUploadImageRequest request, CancellationToken cancellationToken = default) { if (request.FileName == null) diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetPropertyRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetPropertyRequest.cs index 0311fae1..80e6a4aa 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetPropertyRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetPropertyRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/category/getproperty 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantCategoryGetPropertyRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetPropertyResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetPropertyResponse.cs index 084ed730..51fa92f0 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetPropertyResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetPropertyResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/category/getproperty 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantCategoryGetPropertyResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSKURequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSKURequest.cs index 9722e858..55b9dadf 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSKURequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSKURequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/category/getsku 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantCategoryGetSKURequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSKUResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSKUResponse.cs index 9cf5b3d7..65977914 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSKUResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSKUResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/category/getsku 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantCategoryGetSKUResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSubRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSubRequest.cs index deab6fc9..530de3d9 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSubRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSubRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/category/getsub 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantCategoryGetSubRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSubResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSubResponse.cs index 2dc8cff4..f01d5a9c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSubResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Category/MerchantCategoryGetSubResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/category/getsub 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantCategoryGetSubResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Common/MerchantCommonUploadImageRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Common/MerchantCommonUploadImageRequest.cs index 9d93fee9..0f8f9f7b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Common/MerchantCommonUploadImageRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Common/MerchantCommonUploadImageRequest.cs @@ -5,6 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// /// 表示 [POST] /merchant/common/upload_img 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantCommonUploadImageRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Common/MerchantCommonUploadImageResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Common/MerchantCommonUploadImageResponse.cs index ccfddf9f..40950488 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Common/MerchantCommonUploadImageResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Common/MerchantCommonUploadImageResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/common/upload_img 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantCommonUploadImageResponse : WechatApiResponse { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressAddRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressAddRequest.cs index c479f949..77127bad 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressAddRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressAddRequest.cs @@ -1,10 +1,12 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/express/add 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantExpressAddRequest : WechatApiRequest, IInferable { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressAddResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressAddResponse.cs index 0d64f90e..957431d2 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressAddResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressAddResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/express/add 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantExpressAddResponse : WechatApiResponse { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressDeleteRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressDeleteRequest.cs index 0e15fb24..a1fb0d88 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressDeleteRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressDeleteRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/express/del 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantExpressDeleteRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressDeleteResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressDeleteResponse.cs index a737793f..1157da50 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressDeleteResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressDeleteResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/express/del 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantExpressDeleteResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetAllRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetAllRequest.cs index db2bb7ab..303c0129 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetAllRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetAllRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /merchant/express/getall 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantExpressGetAllRequest : WechatApiRequest, IInferable { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetAllResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetAllResponse.cs index 42ec832f..6215054b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetAllResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetAllResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /merchant/express/getall 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantExpressGetAllResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetByIdRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetByIdRequest.cs index 58f4b320..15763ae3 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetByIdRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetByIdRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/express/getbyid 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantExpressGetByIdRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetByIdResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetByIdResponse.cs index 13c50707..6d510500 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetByIdResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressGetByIdResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/express/getbyid 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantExpressGetByIdResponse : WechatApiResponse { public static class Types @@ -35,10 +38,12 @@ public CustomCharging[] CustomList { get; set; } = default!; } + [System.Obsolete] public class NormalCharging : MerchantExpressAddRequest.Types.Template.Types.NormalCharging { } + [System.Obsolete] public class CustomCharging : MerchantExpressAddRequest.Types.Template.Types.CustomCharging { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressUpdateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressUpdateRequest.cs index e075c1ba..a239cab2 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressUpdateRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressUpdateRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/express/update 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantExpressUpdateRequest : WechatApiRequest, IInferable { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressUpdateResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressUpdateResponse.cs index b1d3eecb..5e2ab728 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressUpdateResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Express/MerchantExpressUpdateResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/express/update 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantExpressUpdateResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupAddRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupAddRequest.cs index a553b25d..f102ad90 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupAddRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupAddRequest.cs @@ -1,10 +1,12 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/group/add 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupAddRequest : WechatApiRequest, IInferable { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupAddResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupAddResponse.cs index 6b825358..f40b00e8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupAddResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupAddResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/group/add 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupAddResponse : WechatApiResponse { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupDeleteRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupDeleteRequest.cs index 697c7717..1751d0c0 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupDeleteRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupDeleteRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/group/del 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupDeleteRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupDeleteResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupDeleteResponse.cs index 6b6cdeb0..750322ec 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupDeleteResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupDeleteResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/group/del 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupDeleteResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetAllRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetAllRequest.cs index 876ba200..34f57b8e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetAllRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetAllRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /merchant/group/getall 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupGetAllRequest : WechatApiRequest, IInferable { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetAllResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetAllResponse.cs index 66c16c3a..72f48c10 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetAllResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetAllResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /merchant/group/getall 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupGetAllResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetByIdRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetByIdRequest.cs index 5a3c9f7c..862d530e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetByIdRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetByIdRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/group/getbyid 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupGetByIdRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetByIdResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetByIdResponse.cs index 5dcf8cae..1706eb27 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetByIdResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupGetByIdResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/group/getbyid 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupGetByIdResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupProductModifyRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupProductModifyRequest.cs index 082db098..6a8a9c22 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupProductModifyRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupProductModifyRequest.cs @@ -1,10 +1,12 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/group/productmod 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupProductModifyRequest : WechatApiRequest, IInferable { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupProductModifyResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupProductModifyResponse.cs index 90c23510..66d37004 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupProductModifyResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupProductModifyResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/group/productmod 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupProductModifyResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupPropertyModifyRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupPropertyModifyRequest.cs index 67b41885..b366ef25 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupPropertyModifyRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupPropertyModifyRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/group/propertymod 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupPropertyModifyRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupPropertyModifyResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupPropertyModifyResponse.cs index f8a798ff..3436f990 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupPropertyModifyResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Group/MerchantGroupPropertyModifyResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/group/propertymod 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGroupPropertyModifyResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderCloseRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderCloseRequest.cs index e005d62a..c3ae13bf 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderCloseRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderCloseRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/order/close 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantOrderCloseRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderCloseResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderCloseResponse.cs index a4a40df6..d1591d46 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderCloseResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderCloseResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/order/close 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantOrderCloseResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByFilterRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByFilterRequest.cs index ae6bcc2b..86a6b3bf 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByFilterRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByFilterRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/order/getbyfilter 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantOrderGetByFilterRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByFilterResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByFilterResponse.cs index 7bf3269a..89f33f5b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByFilterResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByFilterResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/order/getbyfilter 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantOrderGetByFilterResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByIdRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByIdRequest.cs index f2d87c48..60bffa89 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByIdRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByIdRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/order/getbyid 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantOrderGetByIdRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByIdResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByIdResponse.cs index d482c328..8bcc2d9d 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByIdResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderGetByIdResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/order/getbyid 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantOrderGetByIdResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderSetDeliveryRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderSetDeliveryRequest.cs index f4dd717e..68f48e14 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderSetDeliveryRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderSetDeliveryRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/order/setdelivery 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantOrderSetDeliveryRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderSetDeliveryResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderSetDeliveryResponse.cs index f00b2b78..7cc59aea 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderSetDeliveryResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Order/MerchantOrderSetDeliveryResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/order/setdelivery 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantOrderSetDeliveryResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantCreateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantCreateRequest.cs index 91e5eded..23a66b46 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantCreateRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantCreateRequest.cs @@ -1,10 +1,12 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/create 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantCreateRequest : WechatApiRequest, IInferable { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantCreateResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantCreateResponse.cs index a230f881..b7325ec4 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantCreateResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantCreateResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/create 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantCreateResponse : WechatApiResponse { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantDeleteRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantDeleteRequest.cs index 7bc88dd0..2407e126 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantDeleteRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantDeleteRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/del 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantDeleteRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantDeleteResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantDeleteResponse.cs index 07dbe74e..80be72bc 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantDeleteResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantDeleteResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/del 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantDeleteResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetByStatusRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetByStatusRequest.cs index 42ed4473..1a6e861d 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetByStatusRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetByStatusRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/getbystatus 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGetByStatusRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetByStatusResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetByStatusResponse.cs index 06c29dfa..37296907 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetByStatusResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetByStatusResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/getbystatus 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGetByStatusResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetRequest.cs index 95c97b58..528b80c5 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /merchant/get 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGetRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetResponse.cs index f91fb901..2ac842d1 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantGetResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /merchant/get 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantGetResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantModifyProductStatusRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantModifyProductStatusRequest.cs index 98a8eec7..f944b83f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantModifyProductStatusRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantModifyProductStatusRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/modproductstatus 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantModifyProductStatusRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantModifyProductStatusResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantModifyProductStatusResponse.cs index 7278d648..0bb1931c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantModifyProductStatusResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantModifyProductStatusResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/modproductstatus 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantModifyProductStatusResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantUpdateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantUpdateRequest.cs index 7f9c58cd..21ac59fd 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantUpdateRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantUpdateRequest.cs @@ -1,26 +1,32 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/update 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantUpdateRequest : WechatApiRequest, IInferable { public static class Types { + [System.Obsolete] public class Base : MerchantCreateRequest.Types.Base { } + [System.Obsolete] public class SKU : MerchantCreateRequest.Types.SKU { } + [System.Obsolete] public class AttributeExtra : MerchantCreateRequest.Types.AttributeExtra { } + [System.Obsolete] public class Delivery : MerchantCreateRequest.Types.Delivery { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantUpdateResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantUpdateResponse.cs index 120ea841..1e8a90e2 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantUpdateResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Product/MerchantUpdateResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/update 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantUpdateResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfAddRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfAddRequest.cs index 6e3fb290..22545d8b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfAddRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfAddRequest.cs @@ -1,10 +1,12 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/shelf/add 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantShelfAddRequest : WechatApiRequest, IInferable { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfAddResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfAddResponse.cs index a86ade00..5d0553b6 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfAddResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfAddResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/shelf/add 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantShelfAddResponse : WechatApiResponse { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfDeleteRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfDeleteRequest.cs index 181efecf..f9d22af0 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfDeleteRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfDeleteRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/shelf/del 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantShelfDeleteRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfDeleteResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfDeleteResponse.cs index fbabf54c..40299479 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfDeleteResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfDeleteResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/shelf/del 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantShelfDeleteResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetAllRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetAllRequest.cs index eb7a7fc0..0fef80d9 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetAllRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetAllRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /merchant/shelf/getall 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantShelfGetAllRequest : WechatApiRequest, IInferable { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetAllResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetAllResponse.cs index e74780a5..79a58b77 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetAllResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetAllResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /merchant/shelf/getall 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantShelfGetAllResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetByIdRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetByIdRequest.cs index 689c37a7..b91c46a0 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetByIdRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetByIdRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/shelf/getbyid 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantShelfGetByIdRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetByIdResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetByIdResponse.cs index 819db246..e10433c0 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetByIdResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfGetByIdResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/shelf/getbyid 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantShelfGetByIdResponse : WechatApiResponse { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfModifyRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfModifyRequest.cs index 28c9a837..f83e83df 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfModifyRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfModifyRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/shelf/mod 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantShelfModifyRequest : WechatApiRequest, IInferable { public static class Types diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfModifyResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfModifyResponse.cs index b494c788..7aba7ab2 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfModifyResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Shelf/MerchantShelfModifyResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/shelf/mod 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantShelfModifyResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockAddRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockAddRequest.cs index b2a7637c..1b6323cb 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockAddRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockAddRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/stock/add 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantStockAddRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockAddResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockAddResponse.cs index f28e358e..4c54df70 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockAddResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockAddResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/stock/add 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantStockAddResponse : WechatApiResponse { } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockReduceRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockReduceRequest.cs index 68e5c268..a5dcc2c5 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockReduceRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockReduceRequest.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/stock/reduce 接口的请求。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantStockReduceRequest : WechatApiRequest, IInferable { /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockReduceResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockReduceResponse.cs index 77d955a1..d80c42ac 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockReduceResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Merchant/Stock/MerchantStockReduceResponse.cs @@ -1,8 +1,11 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +using System; + +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /merchant/stock/reduce 接口的响应。 /// + [Obsolete("相关接口或字段于 2020-10-01 下线。")] public class MerchantStockReduceResponse : WechatApiResponse { } diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECWindow/ChannelsECWindowProductOffRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECWindow/ChannelsECWindowProductOffRequest.json new file mode 100644 index 00000000..db74e46f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECWindow/ChannelsECWindowProductOffRequest.json @@ -0,0 +1,4 @@ +{ + "product_id": "100234056", + "appid": "wxee9f94a3360ad25f" +}