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