From 165bbb839f56fa1077bb9bbb7d38f0b12b1875e7 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Thu, 27 Nov 2025 15:36:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(wxapi):=20=E4=BF=AE=E5=A4=8D=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E4=BC=9A=E5=91=98=E6=9C=8D=E5=8A=A1=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=A8=A1=E5=9E=8B=E5=AE=9A=E4=B9=89=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...echatApiClientExecuteChannelsExtensions.cs | 138 ----------------- .../WechatApiClientExecuteWxaExtensions.cs | 140 ++++++++++++++++++ .../ECVip/ChannelsECVipShopListGetRequest.cs | 9 -- .../ECVip/ChannelsECVipUserInfoAddResponse.cs | 9 -- .../ChannelsECVipUserInfoDeleteResponse.cs | 9 -- .../ChannelsECVipUserInfoUpdateResponse.cs | 9 -- .../Wxa/Vip/WxaVipShopListGetRequest.cs | 9 ++ .../Vip/WxaVipShopListGetResponse.cs} | 4 +- .../Vip/WxaVipUserInfoAddRequest.cs} | 4 +- .../Wxa/Vip/WxaVipUserInfoAddResponse.cs | 9 ++ .../Vip/WxaVipUserInfoDeleteRequest.cs} | 4 +- .../Wxa/Vip/WxaVipUserInfoDeleteResponse.cs | 9 ++ .../Vip/WxaVipUserInfoGetRequest.cs} | 4 +- .../Vip/WxaVipUserInfoGetResponse.cs} | 4 +- .../Vip/WxaVipUserInfoUpdateRequest.cs} | 6 +- .../Wxa/Vip/WxaVipUserInfoUpdateResponse.cs | 9 ++ .../Vip/WxaVipUserListGetRequest.cs} | 4 +- .../Vip/WxaVipUserListGetResponse.cs} | 4 +- .../Vip/WxaVipShopListGetResponse.json} | 0 .../Vip/WxaVipUserInfoAddRequest.json} | 0 .../Vip/WxaVipUserInfoDeleteRequest.json} | 0 .../Vip/WxaVipUserInfoGetRequest.json} | 0 .../Vip/WxaVipUserInfoGetResponse.json} | 0 .../Vip/WxaVipUserInfoUpdateRequest.json} | 0 .../Vip/WxaVipUserListGetRequest.json} | 0 .../Vip/WxaVipUserListGetResponse.json} | 0 26 files changed, 193 insertions(+), 191 deletions(-) delete mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipShopListGetRequest.cs delete mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoAddResponse.cs delete mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoDeleteResponse.cs delete mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoUpdateResponse.cs create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipShopListGetRequest.cs rename src/SKIT.FlurlHttpClient.Wechat.Api/Models/{Channels/ECVip/ChannelsECVipShopListGetResponse.cs => Wxa/Vip/WxaVipShopListGetResponse.cs} (84%) rename src/SKIT.FlurlHttpClient.Wechat.Api/Models/{Channels/ECVip/ChannelsECVipUserInfoAddRequest.cs => Wxa/Vip/WxaVipUserInfoAddRequest.cs} (88%) create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoAddResponse.cs rename src/SKIT.FlurlHttpClient.Wechat.Api/Models/{Channels/ECVip/ChannelsECVipUserInfoGetRequest.cs => Wxa/Vip/WxaVipUserInfoDeleteRequest.cs} (62%) create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoDeleteResponse.cs rename src/SKIT.FlurlHttpClient.Wechat.Api/Models/{Channels/ECVip/ChannelsECVipUserInfoDeleteRequest.cs => Wxa/Vip/WxaVipUserInfoGetRequest.cs} (61%) rename src/SKIT.FlurlHttpClient.Wechat.Api/Models/{Channels/ECVip/ChannelsECVipUserInfoGetResponse.cs => Wxa/Vip/WxaVipUserInfoGetResponse.cs} (90%) rename src/SKIT.FlurlHttpClient.Wechat.Api/Models/{Channels/ECVip/ChannelsECVipUserInfoUpdateRequest.cs => Wxa/Vip/WxaVipUserInfoUpdateRequest.cs} (69%) create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoUpdateResponse.cs rename src/SKIT.FlurlHttpClient.Wechat.Api/Models/{Channels/ECVip/ChannelsECVipUserListGetRequest.cs => Wxa/Vip/WxaVipUserListGetRequest.cs} (73%) rename src/SKIT.FlurlHttpClient.Wechat.Api/Models/{Channels/ECVip/ChannelsECVipUserListGetResponse.cs => Wxa/Vip/WxaVipUserListGetResponse.cs} (92%) rename test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/{Channels/ECVip/ChannelsECVipShopListGetResponse.json => Wxa/Vip/WxaVipShopListGetResponse.json} (100%) rename test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/{Channels/ECVip/ChannelsECVipUserInfoAddRequest.json => Wxa/Vip/WxaVipUserInfoAddRequest.json} (100%) rename test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/{Channels/ECVip/ChannelsECVipUserInfoDeleteRequest.json => Wxa/Vip/WxaVipUserInfoDeleteRequest.json} (100%) rename test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/{Channels/ECVip/ChannelsECVipUserInfoGetRequest.json => Wxa/Vip/WxaVipUserInfoGetRequest.json} (100%) rename test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/{Channels/ECVip/ChannelsECVipUserInfoGetResponse.json => Wxa/Vip/WxaVipUserInfoGetResponse.json} (100%) rename test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/{Channels/ECVip/ChannelsECVipUserInfoUpdateRequest.json => Wxa/Vip/WxaVipUserInfoUpdateRequest.json} (100%) rename test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/{Channels/ECVip/ChannelsECVipUserListGetRequest.json => Wxa/Vip/WxaVipUserListGetRequest.json} (100%) rename test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/{Channels/ECVip/ChannelsECVipUserListGetResponse.json => Wxa/Vip/WxaVipUserListGetResponse.json} (100%) diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs index 61f27fce..77a470f5 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs @@ -7764,144 +7764,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); } - - /// - /// 异步调用 [POST] /channels/ec/vip/user/info/add 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - public static async Task ExecuteChannelsECVipUserInfoAddAsync(this WechatApiClient client, Models.ChannelsECVipUserInfoAddRequest 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 - .CreateFlurlRequest(request, HttpMethod.Post, "channels", "ec", "vip", "user", "info", "add") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/user/info/update 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - public static async Task ExecuteChannelsECVipUserInfoUpdateAsync(this WechatApiClient client, Models.ChannelsECVipUserInfoUpdateRequest 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 - .CreateFlurlRequest(request, HttpMethod.Post, "channels", "ec", "vip", "user", "info", "update") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/user/info/get 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - public static async Task ExecuteChannelsECVipUserInfoGetAsync(this WechatApiClient client, Models.ChannelsECVipUserInfoGetRequest 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 - .CreateFlurlRequest(request, HttpMethod.Post, "channels", "ec", "vip", "user", "info", "get") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/user/list/get 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - public static async Task ExecuteChannelsECVipUserListGetAsync(this WechatApiClient client, Models.ChannelsECVipUserListGetRequest 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 - .CreateFlurlRequest(request, HttpMethod.Post, "channels", "ec", "vip", "user", "list", "get") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/user/info/delete 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - public static async Task ExecuteChannelsECVipUserInfoDeleteAsync(this WechatApiClient client, Models.ChannelsECVipUserInfoDeleteRequest 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 - .CreateFlurlRequest(request, HttpMethod.Post, "channels", "ec", "vip", "user", "info", "delete") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/shop/list/get 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - public static async Task ExecuteChannelsECVipShopListGetAsync(this WechatApiClient client, Models.ChannelsECVipShopListGetRequest 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 - .CreateFlurlRequest(request, HttpMethod.Post, "channels", "ec", "vip", "shop", "list", "get") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } #endregion #region ECVoucher diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaExtensions.cs index 2f0dce53..eb5d6a59 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaExtensions.cs @@ -1234,6 +1234,146 @@ namespace SKIT.FlurlHttpClient.Wechat.Api } #endregion + #region Vip + /// + /// 异步调用 [POST] /wxa/vip/user/info/add 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteWxaVipUserInfoAddAsync(this WechatApiClient client, Models.WxaVipUserInfoAddRequest 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 + .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "vip", "user", "info", "add") + .SetQueryParam("access_token", request.AccessToken); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + /// 异步调用 [POST] /wxa/vip/user/info/update 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteWxaVipUserInfoUpdateAsync(this WechatApiClient client, Models.WxaVipUserInfoUpdateRequest 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 + .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "vip", "user", "info", "update") + .SetQueryParam("access_token", request.AccessToken); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + /// 异步调用 [POST] /wxa/vip/user/info/get 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteWxaVipUserInfoGetAsync(this WechatApiClient client, Models.WxaVipUserInfoGetRequest 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 + .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "vip", "user", "info", "get") + .SetQueryParam("access_token", request.AccessToken); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + /// 异步调用 [POST] /wxa/vip/user/list/get 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteWxaVipUserListGetAsync(this WechatApiClient client, Models.WxaVipUserListGetRequest 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 + .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "vip", "user", "list", "get") + .SetQueryParam("access_token", request.AccessToken); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + /// 异步调用 [POST] /wxa/vip/user/info/delete 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteWxaVipUserInfoDeleteAsync(this WechatApiClient client, Models.WxaVipUserInfoDeleteRequest 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 + .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "vip", "user", "info", "delete") + .SetQueryParam("access_token", request.AccessToken); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + /// 异步调用 [POST] /wxa/vip/shop/list/get 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteWxaVipShopListGetAsync(this WechatApiClient client, Models.WxaVipShopListGetRequest 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 + .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "vip", "shop", "list", "get") + .SetQueryParam("access_token", request.AccessToken); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); + } + #endregion + #region WxaCode /// /// 异步调用 [POST] /wxa/getwxacode 接口。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipShopListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipShopListGetRequest.cs deleted file mode 100644 index bedc5b07..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipShopListGetRequest.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/shop/list/get 接口的请求。 - /// - public class ChannelsECVipShopListGetRequest : WechatApiRequest, IInferable - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoAddResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoAddResponse.cs deleted file mode 100644 index df2a1082..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoAddResponse.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/info/add 接口的响应。 - /// - public class ChannelsECVipUserInfoAddResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoDeleteResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoDeleteResponse.cs deleted file mode 100644 index 91de227b..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoDeleteResponse.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/info/delete 接口的响应。 - /// - public class ChannelsECVipUserInfoDeleteResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoUpdateResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoUpdateResponse.cs deleted file mode 100644 index 18c334d5..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoUpdateResponse.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/info/update 接口的响应。 - /// - public class ChannelsECVipUserInfoUpdateResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipShopListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipShopListGetRequest.cs new file mode 100644 index 00000000..939e7561 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipShopListGetRequest.cs @@ -0,0 +1,9 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /wxa/vip/shop/list/get 接口的请求。 + /// + public class WxaVipShopListGetRequest : WechatApiRequest, IInferable + { + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipShopListGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipShopListGetResponse.cs similarity index 84% rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipShopListGetResponse.cs rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipShopListGetResponse.cs index 34372897..d710e02c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipShopListGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipShopListGetResponse.cs @@ -1,9 +1,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// - /// 表示 [POST] /channels/ec/vip/shop/list/get 接口的响应。 + /// 表示 [POST] /wxa/vip/shop/list/get 接口的响应。 /// - public class ChannelsECVipShopListGetResponse : WechatApiResponse + public class WxaVipShopListGetResponse : WechatApiResponse { public static class Types { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoAddRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoAddRequest.cs similarity index 88% rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoAddRequest.cs rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoAddRequest.cs index 1062e2ac..f062f48c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoAddRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoAddRequest.cs @@ -1,9 +1,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// - /// 表示 [POST] /channels/ec/vip/user/info/add 接口的请求。 + /// 表示 [POST] /wxa/vip/user/info/add 接口的请求。 /// - public class ChannelsECVipUserInfoAddRequest : WechatApiRequest, IInferable + public class WxaVipUserInfoAddRequest : WechatApiRequest, IInferable { public static class Types { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoAddResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoAddResponse.cs new file mode 100644 index 00000000..05b48433 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoAddResponse.cs @@ -0,0 +1,9 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /wxa/vip/user/info/add 接口的响应。 + /// + public class WxaVipUserInfoAddResponse : WechatApiResponse + { + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoDeleteRequest.cs similarity index 62% rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoGetRequest.cs rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoDeleteRequest.cs index 762f8b1a..6c74186e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoGetRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoDeleteRequest.cs @@ -1,9 +1,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// - /// 表示 [POST] /channels/ec/vip/user/info/get 接口的请求。 + /// 表示 [POST] /wxa/vip/user/info/delete 接口的请求。 /// - public class ChannelsECVipUserInfoGetRequest : WechatApiRequest, IInferable + public class WxaVipUserInfoDeleteRequest : WechatApiRequest, IInferable { /// /// 获取或设置小程序用户的 OpenId。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoDeleteResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoDeleteResponse.cs new file mode 100644 index 00000000..13bb177b --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoDeleteResponse.cs @@ -0,0 +1,9 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /wxa/vip/user/info/delete 接口的响应。 + /// + public class WxaVipUserInfoDeleteResponse : WechatApiResponse + { + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoDeleteRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoGetRequest.cs similarity index 61% rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoDeleteRequest.cs rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoGetRequest.cs index 6878c313..6379faa8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoDeleteRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoGetRequest.cs @@ -1,9 +1,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// - /// 表示 [POST] /channels/ec/vip/user/info/delete 接口的请求。 + /// 表示 [POST] /wxa/vip/user/info/get 接口的请求。 /// - public class ChannelsECVipUserInfoDeleteRequest : WechatApiRequest, IInferable + public class WxaVipUserInfoGetRequest : WechatApiRequest, IInferable { /// /// 获取或设置小程序用户的 OpenId。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoGetResponse.cs similarity index 90% rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoGetResponse.cs rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoGetResponse.cs index a2de0353..e8645ae6 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoGetResponse.cs @@ -1,9 +1,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// - /// 表示 [POST] /channels/ec/vip/user/info/get 接口的响应。 + /// 表示 [POST] /wxa/vip/user/info/get 接口的响应。 /// - public class ChannelsECVipUserInfoGetResponse : WechatApiResponse + public class WxaVipUserInfoGetResponse : WechatApiResponse { public static class Types { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoUpdateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoUpdateRequest.cs similarity index 69% rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoUpdateRequest.cs rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoUpdateRequest.cs index 297847bf..897f7512 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserInfoUpdateRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoUpdateRequest.cs @@ -1,13 +1,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// - /// 表示 [POST] /channels/ec/vip/user/info/update 接口的请求。 + /// 表示 [POST] /wxa/vip/user/info/update 接口的请求。 /// - public class ChannelsECVipUserInfoUpdateRequest : WechatApiRequest, IInferable + public class WxaVipUserInfoUpdateRequest : WechatApiRequest, IInferable { public static class Types { - public class UserInfo : ChannelsECVipUserInfoAddRequest.Types.UserInfo + public class UserInfo : WxaVipUserInfoAddRequest.Types.UserInfo { } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoUpdateResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoUpdateResponse.cs new file mode 100644 index 00000000..6c6513b0 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserInfoUpdateResponse.cs @@ -0,0 +1,9 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /wxa/vip/user/info/update 接口的响应。 + /// + public class WxaVipUserInfoUpdateResponse : WechatApiResponse + { + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserListGetRequest.cs similarity index 73% rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserListGetRequest.cs rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserListGetRequest.cs index 9f205df2..23ba7c23 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserListGetRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserListGetRequest.cs @@ -1,9 +1,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// - /// 表示 [POST] /channels/ec/vip/user/list/get 接口的请求。 + /// 表示 [POST] /wxa/vip/user/list/get 接口的请求。 /// - public class ChannelsECVipUserListGetRequest : WechatApiRequest, IInferable + public class WxaVipUserListGetRequest : WechatApiRequest, IInferable { /// /// 获取或设置分页起始位置。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserListGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserListGetResponse.cs similarity index 92% rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserListGetResponse.cs rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserListGetResponse.cs index c7a76af0..1f4aaf5a 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ChannelsECVipUserListGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/Vip/WxaVipUserListGetResponse.cs @@ -1,9 +1,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// - /// 表示 [POST] /channels/ec/vip/user/list/get 接口的响应。 + /// 表示 [POST] /wxa/vip/user/list/get 接口的响应。 /// - public class ChannelsECVipUserListGetResponse : WechatApiResponse + public class WxaVipUserListGetResponse : WechatApiResponse { public static class Types { diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipShopListGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipShopListGetResponse.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipShopListGetResponse.json rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipShopListGetResponse.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserInfoAddRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserInfoAddRequest.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserInfoAddRequest.json rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserInfoAddRequest.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserInfoDeleteRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserInfoDeleteRequest.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserInfoDeleteRequest.json rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserInfoDeleteRequest.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserInfoGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserInfoGetRequest.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserInfoGetRequest.json rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserInfoGetRequest.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserInfoGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserInfoGetResponse.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserInfoGetResponse.json rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserInfoGetResponse.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserInfoUpdateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserInfoUpdateRequest.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserInfoUpdateRequest.json rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserInfoUpdateRequest.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserListGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserListGetRequest.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserListGetRequest.json rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserListGetRequest.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserListGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserListGetResponse.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ChannelsECVipUserListGetResponse.json rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Wxa/Vip/WxaVipUserListGetResponse.json