diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/POICheckNotifyEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/POICheckNotifyEvent.cs deleted file mode 100644 index a32e250b..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/POICheckNotifyEvent.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Events -{ - /// - /// 表示 EVENT.poi_check_notify 事件的数据。 - /// - /// REF:
- /// - ///
- ///
- [Obsolete("相关接口或字段于 2024-07-05 下线。")] - public class POICheckNotifyEvent : WechatApiEvent - { - /// - /// 获取或设置商户门店 ID。 - /// - [Newtonsoft.Json.JsonProperty("UniqId")] - [System.Text.Json.Serialization.JsonPropertyName("UniqId")] - [System.Xml.Serialization.XmlElement("UniqId")] - public string? SID { get; set; } - - /// - /// 获取或设置门店 ID。 - /// - [Newtonsoft.Json.JsonProperty("PoiId")] - [System.Text.Json.Serialization.JsonPropertyName("PoiId")] - [System.Xml.Serialization.XmlElement("PoiId")] - public string POIId { get; set; } = default!; - - /// - /// 获取或设置审核结果。 - /// - [Newtonsoft.Json.JsonProperty("Result")] - [System.Text.Json.Serialization.JsonPropertyName("Result")] - [System.Xml.Serialization.XmlElement("Result")] - public string Result { get; set; } = default!; - - /// - /// 获取或设置审核信息。 - /// - [Newtonsoft.Json.JsonProperty("msg")] - [System.Text.Json.Serialization.JsonPropertyName("msg")] - [System.Xml.Serialization.XmlElement("msg")] - public string ResultMessage { get; set; } = default!; - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinPOIExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinPOIExtensions.cs index 9e20f21d..235614a8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinPOIExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinPOIExtensions.cs @@ -9,30 +9,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api { public static class WechatApiClientExecuteCgibinPOIExtensions { - /// - /// 异步调用 [POST] /cgi-bin/poi/addpoi 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-05 下线。")] - public static async Task ExecuteCgibinPOIAddPOIAsync(this WechatApiClient client, Models.CgibinPOIAddPOIRequest 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, "cgi-bin", "poi", "addpoi") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - /// /// 异步调用 [POST] /cgi-bin/poi/getpoi 接口。 /// @@ -80,30 +56,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); } - /// - /// 异步调用 [POST] /cgi-bin/poi/updatepoi 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-05 下线。")] - public static async Task ExecuteCgibinPOIUpdatePOIAsync(this WechatApiClient client, Models.CgibinPOIUpdatePOIRequest 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, "cgi-bin", "poi", "updatepoi") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - /// /// 异步调用 [POST] /cgi-bin/poi/delpoi 接口。 /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs index 4a9218b6..40649c44 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs @@ -5137,352 +5137,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api #endregion #endregion - #region ECVip - #region ECVip/ExperienceValue - /// - /// 异步调用 [POST] /channels/ec/vip/experiencevalue/set 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipExperienceValueSetAsync(this WechatApiClient client, Models.ChannelsECVipExperienceValueSetRequest 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", "experiencevalue", "set") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - #endregion - - #region ECVip/Grade - /// - /// 异步调用 [POST] /channels/ec/vip/grade/card/add 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipGradeCardAddAsync(this WechatApiClient client, Models.ChannelsECVipGradeCardAddRequest 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", "grade", "card", "add") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [GET] /channels/ec/vip/grade/card/get 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipGradeCardGetAsync(this WechatApiClient client, Models.ChannelsECVipGradeCardGetRequest 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.Get, "channels", "ec", "vip", "grade", "card", "get") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/grade/card/update 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipGradeCardUpdateAsync(this WechatApiClient client, Models.ChannelsECVipGradeCardUpdateRequest 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", "grade", "card", "update") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - #endregion - - #region ECVip/Score - /// - /// 异步调用 [POST] /channels/ec/vip/score/set 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipScoreSetAsync(this WechatApiClient client, Models.ChannelsECVipScoreSetRequest 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", "score", "set") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [GET] /channels/ec/vip/score/get 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipScoreGetAsync(this WechatApiClient client, Models.ChannelsECVipScoreGetRequest 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.Get, "channels", "ec", "vip", "score", "get") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - #endregion - - #region ECVip/User - /// - /// 异步调用 [POST] /channels/ec/vip/user/info/get 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - 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:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - 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/experiencevalue/update 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipUserExperienceValueUpdateAsync(this WechatApiClient client, Models.ChannelsECVipUserExperienceValueUpdateRequest 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", "experiencevalue", "update") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/user/grade/update 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipUserGradeUpdateAsync(this WechatApiClient client, Models.ChannelsECVipUserGradeUpdateRequest 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", "grade", "update") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/user/score/get 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipUserScoreGetAsync(this WechatApiClient client, Models.ChannelsECVipUserScoreGetRequest 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", "score", "get") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/user/score/flowrecord/get 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipUserScoreFlowRecordGetAsync(this WechatApiClient client, Models.ChannelsECVipUserScoreFlowRecordGetRequest 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", "score", "flowrecord", "get") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/user/score/increase 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipUserScoreIncreaseAsync(this WechatApiClient client, Models.ChannelsECVipUserScoreIncreaseRequest 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", "score", "increase") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// 异步调用 [POST] /channels/ec/vip/user/score/decrease 接口。 - /// - /// REF:
- /// - ///
- ///
- /// - /// - /// - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public static async Task ExecuteChannelsECVipUserScoreDecreaseAsync(this WechatApiClient client, Models.ChannelsECVipUserScoreDecreaseRequest 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", "score", "decrease") - .SetQueryParam("access_token", request.AccessToken); - - return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - #endregion - #endregion - #region ECVoucher #region ECVoucher/Bill /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaApiExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaApiExtensions.cs index 71a9df0d..a3407cd1 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaApiExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaApiExtensions.cs @@ -62,6 +62,30 @@ namespace SKIT.FlurlHttpClient.Wechat.Api return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); } + /// + /// 异步调用 [GET] /wxaapi/comment/commentinfo/get 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteWxaApiCommentInfoGetAsync(this WechatApiClient client, Models.WxaApiCommentInfoGetRequest 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.Get, "wxaapi", "comment", "commentinfo", "get") + .SetQueryParam("access_token", request.AccessToken) + .SetQueryParam("commentId", request.CommentId); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); + } + /// /// 异步调用 [POST] /wxaapi/comment/commentreply/add 接口。 /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/CardBatchGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/CardBatchGetResponse.cs index 87375695..92dc5c52 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/CardBatchGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/CardBatchGetResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /card/batchget 接口的响应。 @@ -17,6 +17,6 @@ /// [Newtonsoft.Json.JsonProperty("total_num")] [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/GiftCard/Order/CardGiftCardOrderBatchGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/GiftCard/Order/CardGiftCardOrderBatchGetResponse.cs index 95f816f3..472ad15c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/GiftCard/Order/CardGiftCardOrderBatchGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/GiftCard/Order/CardGiftCardOrderBatchGetResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /card/giftcard/order/batchget 接口的响应。 @@ -24,6 +24,6 @@ /// [Newtonsoft.Json.JsonProperty("total_count")] [System.Text.Json.Serialization.JsonPropertyName("total_count")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/PayGiftCard/CardPayGiftCardBatchGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/PayGiftCard/CardPayGiftCardBatchGetResponse.cs index 55071276..523805fa 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/PayGiftCard/CardPayGiftCardBatchGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/PayGiftCard/CardPayGiftCardBatchGetResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /card/paygiftcard/batchget 接口的响应。 @@ -24,6 +24,6 @@ /// [Newtonsoft.Json.JsonProperty("total_count")] [System.Text.Json.Serialization.JsonPropertyName("total_count")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComment/CgibinCommentListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComment/CgibinCommentListResponse.cs index 8046f9ac..a52aabb4 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComment/CgibinCommentListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComment/CgibinCommentListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /cgi-bin/comment/list 接口的响应。 @@ -75,18 +75,18 @@ } } - /// - /// 获取或设置评论总数。 - /// - [Newtonsoft.Json.JsonProperty("total")] - [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } - /// /// 获取或设置评论列表。 /// [Newtonsoft.Json.JsonProperty("comment")] [System.Text.Json.Serialization.JsonPropertyName("comment")] public Types.Comment[] CommentList { get; set; } = default!; + + /// + /// 获取或设置评论总数。 + /// + [Newtonsoft.Json.JsonProperty("total")] + [System.Text.Json.Serialization.JsonPropertyName("total")] + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentApiGetAuthorizerListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentApiGetAuthorizerListResponse.cs index 618e6f37..4cd2b005 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentApiGetAuthorizerListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentApiGetAuthorizerListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /cgi-bin/component/api_get_authorizer_list 接口的响应。 @@ -37,7 +37,7 @@ /// [Newtonsoft.Json.JsonProperty("total_count")] [System.Text.Json.Serialization.JsonPropertyName("total_count")] - public int Total { get; set; } + public int TotalCount { get; set; } /// /// 获取或设置授权方列表。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Delivery/OpenMessage/CgibinExpressDeliveryOpenMessageGetDeliveryListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Delivery/OpenMessage/CgibinExpressDeliveryOpenMessageGetDeliveryListResponse.cs index 4a9a53ea..9801fb02 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Delivery/OpenMessage/CgibinExpressDeliveryOpenMessageGetDeliveryListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Delivery/OpenMessage/CgibinExpressDeliveryOpenMessageGetDeliveryListResponse.cs @@ -37,6 +37,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("count")] [System.Text.Json.Serialization.JsonPropertyName("count")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Intracity/CgibinExpressIntracityQueryFlowResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Intracity/CgibinExpressIntracityQueryFlowResponse.cs index 86bc3ef4..3661dd4a 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Intracity/CgibinExpressIntracityQueryFlowResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Intracity/CgibinExpressIntracityQueryFlowResponse.cs @@ -178,6 +178,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Intracity/CgibinExpressIntracityQueryStoreResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Intracity/CgibinExpressIntracityQueryStoreResponse.cs index 4970dce8..76597798 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Intracity/CgibinExpressIntracityQueryStoreResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Intracity/CgibinExpressIntracityQueryStoreResponse.cs @@ -137,6 +137,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/BuyerChatRecord/CgibinGuideGetGuideBuyerChatRecordResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/BuyerChatRecord/CgibinGuideGetGuideBuyerChatRecordResponse.cs index fae1f31d..1db489b9 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/BuyerChatRecord/CgibinGuideGetGuideBuyerChatRecordResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/BuyerChatRecord/CgibinGuideGetGuideBuyerChatRecordResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /cgi-bin/guide/getguidebuyerchatrecord 接口的响应。 @@ -53,18 +53,18 @@ } } - /// - /// 获取或设置消息记录总数。 - /// - [Newtonsoft.Json.JsonProperty("total_num")] - [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } - /// /// 获取或设置消息记录列表。 /// [Newtonsoft.Json.JsonProperty("msg_list")] [System.Text.Json.Serialization.JsonPropertyName("msg_list")] public Types.ChatRecord[] ChatRecordList { get; set; } = default!; + + /// + /// 获取或设置消息记录总数。 + /// + [Newtonsoft.Json.JsonProperty("total_num")] + [System.Text.Json.Serialization.JsonPropertyName("total_num")] + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/BuyerRelation/CgibinGuideGetGuideBuyerRelationListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/BuyerRelation/CgibinGuideGetGuideBuyerRelationListResponse.cs index 49dc7684..5c160639 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/BuyerRelation/CgibinGuideGetGuideBuyerRelationListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/BuyerRelation/CgibinGuideGetGuideBuyerRelationListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /cgi-bin/guide/getguidebuyerrelationlist 接口的响应。 @@ -32,18 +32,18 @@ } } - /// - /// 获取或设置客户总数量。 - /// - [Newtonsoft.Json.JsonProperty("total_num")] - [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } - /// /// 获取或设置客户账号列表。 /// [Newtonsoft.Json.JsonProperty("list")] [System.Text.Json.Serialization.JsonPropertyName("list")] public Types.Buyer[]? BuyerList { get; set; } + + /// + /// 获取或设置客户总数量。 + /// + [Newtonsoft.Json.JsonProperty("total_num")] + [System.Text.Json.Serialization.JsonPropertyName("total_num")] + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Group/CgibinGuideGetGroupInfoResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Group/CgibinGuideGetGroupInfoResponse.cs index 55d93cf6..5aa509eb 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Group/CgibinGuideGetGroupInfoResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Group/CgibinGuideGetGroupInfoResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /cgi-bin/guide/getgroupinfo 接口的响应。 @@ -46,18 +46,18 @@ } } - /// - /// 获取或设置组内顾问人员总数。 - /// - [Newtonsoft.Json.JsonProperty("total_num")] - [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } - /// /// 获取或设置顾问列表。 /// [Newtonsoft.Json.JsonProperty("guide_list")] [System.Text.Json.Serialization.JsonPropertyName("guide_list")] public Types.Guide[] GuideList { get; set; } = default!; + + /// + /// 获取或设置组内顾问人员总数。 + /// + [Newtonsoft.Json.JsonProperty("total_num")] + [System.Text.Json.Serialization.JsonPropertyName("total_num")] + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/MassSendJob/CgibinGuideGetGuideMassSendJobListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/MassSendJob/CgibinGuideGetGuideMassSendJobListResponse.cs index ec100721..afa5bdbb 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/MassSendJob/CgibinGuideGetGuideMassSendJobListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/MassSendJob/CgibinGuideGetGuideMassSendJobListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /cgi-bin/guide/getguidemassendjoblist 接口的响应。 @@ -12,18 +12,18 @@ } } - /// - /// 获取或设置任务总数。 - /// - [Newtonsoft.Json.JsonProperty("total_count")] - [System.Text.Json.Serialization.JsonPropertyName("total_count")] - public int Total { get; set; } - /// /// 获取或设置群发任务列表。 /// [Newtonsoft.Json.JsonProperty("list")] [System.Text.Json.Serialization.JsonPropertyName("list")] public Types.Job[] JobList { get; set; } = default!; + + /// + /// 获取或设置任务总数。 + /// + [Newtonsoft.Json.JsonProperty("total_count")] + [System.Text.Json.Serialization.JsonPropertyName("total_count")] + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Material/CgibinGuideGetGuideImageMaterialResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Material/CgibinGuideGetGuideImageMaterialResponse.cs index 46b72c53..1e42ed7e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Material/CgibinGuideGetGuideImageMaterialResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Material/CgibinGuideGetGuideImageMaterialResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /cgi-bin/guide/getguideimagematerial 接口的响应。 @@ -18,18 +18,18 @@ } } - /// - /// 获取或设置图片素材总数。 - /// - [Newtonsoft.Json.JsonProperty("total_num")] - [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } - /// /// 获取或设置图片素材列表。 /// [Newtonsoft.Json.JsonProperty("model_list")] [System.Text.Json.Serialization.JsonPropertyName("model_list")] public Types.ImageMaterial[] ImageList { get; set; } = default!; + + /// + /// 获取或设置图片素材总数。 + /// + [Newtonsoft.Json.JsonProperty("total_num")] + [System.Text.Json.Serialization.JsonPropertyName("total_num")] + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Material/CgibinGuideGetGuideWordMaterialResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Material/CgibinGuideGetGuideWordMaterialResponse.cs index 877303e8..3bcbe397 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Material/CgibinGuideGetGuideWordMaterialResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Material/CgibinGuideGetGuideWordMaterialResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /cgi-bin/guide/getguidewordmaterial 接口的响应。 @@ -25,18 +25,18 @@ } } - /// - /// 获取或设置图片素材总数。 - /// - [Newtonsoft.Json.JsonProperty("total_num")] - [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } - /// /// 获取或设置文字素材列表。 /// [Newtonsoft.Json.JsonProperty("word_list")] [System.Text.Json.Serialization.JsonPropertyName("word_list")] public Types.WordMaterial[] WordList { get; set; } = default!; + + /// + /// 获取或设置图片素材总数。 + /// + [Newtonsoft.Json.JsonProperty("total_num")] + [System.Text.Json.Serialization.JsonPropertyName("total_num")] + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIAddPOIRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIAddPOIRequest.cs deleted file mode 100644 index 7d4f2726..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIAddPOIRequest.cs +++ /dev/null @@ -1,177 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /cgi-bin/poi/addpoi 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-05 下线。")] - public class CgibinPOIAddPOIRequest : WechatApiRequest, IInferable - { - public static class Types - { - public class POI - { - public static class Types - { - public class Base - { - public static class Types - { - public class Photo - { - /// - /// 获取或设置照片 URL。 - /// - [Newtonsoft.Json.JsonProperty("photo_url")] - [System.Text.Json.Serialization.JsonPropertyName("photo_url")] - public string PhotoUrl { get; set; } = string.Empty; - } - } - - /// - /// 获取或设置商户门店 ID。 - /// - [Newtonsoft.Json.JsonProperty("sid")] - [System.Text.Json.Serialization.JsonPropertyName("sid")] - public string? SID { get; set; } - - /// - /// 获取或设置门店名称。 - /// - [Newtonsoft.Json.JsonProperty("business_name")] - [System.Text.Json.Serialization.JsonPropertyName("business_name")] - public string BusinessName { get; set; } = string.Empty; - - /// - /// 获取或设置分店名称。 - /// - [Newtonsoft.Json.JsonProperty("branch_name")] - [System.Text.Json.Serialization.JsonPropertyName("branch_name")] - public string BranchName { get; set; } = string.Empty; - - /// - /// 获取或设置省份。 - /// - [Newtonsoft.Json.JsonProperty("province")] - [System.Text.Json.Serialization.JsonPropertyName("province")] - public string Province { get; set; } = string.Empty; - - /// - /// 获取或设置城市。 - /// - [Newtonsoft.Json.JsonProperty("city")] - [System.Text.Json.Serialization.JsonPropertyName("city")] - public string City { get; set; } = string.Empty; - - /// - /// 获取或设置区县。 - /// - [Newtonsoft.Json.JsonProperty("district")] - [System.Text.Json.Serialization.JsonPropertyName("district")] - public string District { get; set; } = string.Empty; - - /// - /// 获取或设置详细地址。 - /// - [Newtonsoft.Json.JsonProperty("address")] - [System.Text.Json.Serialization.JsonPropertyName("address")] - public string Address { get; set; } = string.Empty; - - /// - /// 获取或设置联系电话。 - /// - [Newtonsoft.Json.JsonProperty("telephone")] - [System.Text.Json.Serialization.JsonPropertyName("telephone")] - public string Telephone { get; set; } = string.Empty; - - /// - /// 获取或设置分类列表。 - /// - [Newtonsoft.Json.JsonProperty("categories")] - [System.Text.Json.Serialization.JsonPropertyName("categories")] - public IList CategoryList { get; set; } = new List(); - - /// - /// 获取或设置坐标类型。 - /// - [Newtonsoft.Json.JsonProperty("offset_type")] - [System.Text.Json.Serialization.JsonPropertyName("offset_type")] - public int CoordinateType { get; set; } - - /// - /// 获取或设置坐标经度。 - /// - [Newtonsoft.Json.JsonProperty("longitude")] - [System.Text.Json.Serialization.JsonPropertyName("longitude")] - public decimal Longitude { get; set; } - - /// - /// 获取或设置坐标纬度。 - /// - [Newtonsoft.Json.JsonProperty("latitude")] - [System.Text.Json.Serialization.JsonPropertyName("latitude")] - public decimal Latitude { get; set; } - - /// - /// 获取或设置门店照片列表。 - /// - [Newtonsoft.Json.JsonProperty("photo_list")] - [System.Text.Json.Serialization.JsonPropertyName("photo_list")] - public IList? PhotoList { get; set; } - - /// - /// 获取或设置推荐品。 - /// - [Newtonsoft.Json.JsonProperty("recommend")] - [System.Text.Json.Serialization.JsonPropertyName("recommend")] - public string? Recommend { get; set; } - - /// - /// 获取或设置特色服务。 - /// - [Newtonsoft.Json.JsonProperty("special")] - [System.Text.Json.Serialization.JsonPropertyName("special")] - public string? Special { get; set; } - - /// - /// 获取或设置商户简介。 - /// - [Newtonsoft.Json.JsonProperty("introduction")] - [System.Text.Json.Serialization.JsonPropertyName("introduction")] - public string? Introduction { get; set; } - - /// - /// 获取或设置营业时间。 - /// - [Newtonsoft.Json.JsonProperty("open_time")] - [System.Text.Json.Serialization.JsonPropertyName("open_time")] - public string? OpenTime { get; set; } - - /// - /// 获取或设置人均价格(单位:元)。 - /// - [Newtonsoft.Json.JsonProperty("avg_price")] - [System.Text.Json.Serialization.JsonPropertyName("avg_price")] - public decimal? AveragePrice { get; set; } - } - } - - /// - /// 获取或设置门店基本信息。 - /// - [Newtonsoft.Json.JsonProperty("base_info")] - [System.Text.Json.Serialization.JsonPropertyName("base_info")] - public Types.Base Base { get; set; } = new Types.Base(); - } - } - - /// - /// 获取或设置门店信息。 - /// - [Newtonsoft.Json.JsonProperty("business")] - [System.Text.Json.Serialization.JsonPropertyName("business")] - public Types.POI POI { get; set; } = new Types.POI(); - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIAddPOIResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIAddPOIResponse.cs deleted file mode 100644 index 4f524aad..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIAddPOIResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /cgi-bin/poi/addpoi 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-05 下线。")] - public class CgibinPOIAddPOIResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIGetPOIListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIGetPOIListResponse.cs index 7e35411b..a81832f8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIGetPOIListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIGetPOIListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /cgi-bin/poi/getpoilist 接口的响应。 @@ -65,6 +65,6 @@ /// [Newtonsoft.Json.JsonProperty("total_count")] [System.Text.Json.Serialization.JsonPropertyName("total_count")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIUpdatePOIRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIUpdatePOIRequest.cs deleted file mode 100644 index 1a3dd959..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIUpdatePOIRequest.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /cgi-bin/poi/updatepoi 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-05 下线。")] - public class CgibinPOIUpdatePOIRequest : WechatApiRequest, IInferable - { - public static class Types - { - public class Business - { - public static class Types - { - public class Base - { - public static class Types - { - public class Photo : CgibinPOIAddPOIRequest.Types.POI.Types.Base.Types.Photo - { - } - } - - /// - /// 获取或设置商户门店 ID。 - /// - [Newtonsoft.Json.JsonProperty("sid")] - [System.Text.Json.Serialization.JsonPropertyName("sid")] - public string? SID { get; set; } - - /// - /// 获取或设置门店 ID。 - /// - [Newtonsoft.Json.JsonProperty("poi_id")] - [System.Text.Json.Serialization.JsonPropertyName("poi_id")] - public string POIId { get; set; } = string.Empty; - - /// - /// 获取或设置联系电话。 - /// - [Newtonsoft.Json.JsonProperty("telephone")] - [System.Text.Json.Serialization.JsonPropertyName("telephone")] - public string? Telephone { get; set; } - - /// - /// 获取或设置门店照片列表。 - /// - [Newtonsoft.Json.JsonProperty("photo_list")] - [System.Text.Json.Serialization.JsonPropertyName("photo_list")] - public IList? PhotoList { get; set; } - - /// - /// 获取或设置推荐品。 - /// - [Newtonsoft.Json.JsonProperty("recommend")] - [System.Text.Json.Serialization.JsonPropertyName("recommend")] - public string? Recommend { get; set; } - - /// - /// 获取或设置特色服务。 - /// - [Newtonsoft.Json.JsonProperty("special")] - [System.Text.Json.Serialization.JsonPropertyName("special")] - public string? Special { get; set; } - - /// - /// 获取或设置商户简介。 - /// - [Newtonsoft.Json.JsonProperty("introduction")] - [System.Text.Json.Serialization.JsonPropertyName("introduction")] - public string? Introduction { get; set; } - - /// - /// 获取或设置营业时间。 - /// - [Newtonsoft.Json.JsonProperty("open_time")] - [System.Text.Json.Serialization.JsonPropertyName("open_time")] - public string? OpenTime { get; set; } - - /// - /// 获取或设置人均价格(单位:元)。 - /// - [Newtonsoft.Json.JsonProperty("avg_price")] - [System.Text.Json.Serialization.JsonPropertyName("avg_price")] - public decimal? AveragePrice { get; set; } - } - } - - /// - /// 获取或设置门店基本信息。 - /// - [Newtonsoft.Json.JsonProperty("base_info")] - [System.Text.Json.Serialization.JsonPropertyName("base_info")] - public Types.Base Base { get; set; } = new Types.Base(); - } - } - - /// - /// 获取或设置门店信息。 - /// - [Newtonsoft.Json.JsonProperty("business")] - [System.Text.Json.Serialization.JsonPropertyName("business")] - public Types.Business Business { get; set; } = new Types.Business(); - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIUpdatePOIResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIUpdatePOIResponse.cs deleted file mode 100644 index d2980f01..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinPOI/CgibinPOIUpdatePOIResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /cgi-bin/poi/updatepoi 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-05 下线。")] - public class CgibinPOIUpdatePOIResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ExperienceValue/ChannelsECVipExperienceValueSetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ExperienceValue/ChannelsECVipExperienceValueSetRequest.cs deleted file mode 100644 index 41a503a9..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ExperienceValue/ChannelsECVipExperienceValueSetRequest.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/experiencevalue/set 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipExperienceValueSetRequest : WechatApiRequest, IInferable - { - public static class Types - { - public class Config - { - public static class Types - { - public class PayAmountRule - { - /// - /// 获取或设置消费金额(单位:分)。 - /// - [Newtonsoft.Json.JsonProperty("pay_value")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("pay_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int? PayAmount { get; set; } - - /// - /// 获取或设置消费门槛金额(单位:分)。 - /// - [Newtonsoft.Json.JsonProperty("pay_amount_floor")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("pay_amount_floor")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int? PayAmountFloor { get; set; } - - /// - /// 获取或设置获得的经验值。 - /// - [Newtonsoft.Json.JsonProperty("gain_value")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("gain_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int? GainExperienceValue { get; set; } - } - - public class PayTimesRule - { - /// - /// 获取或设置获得的经验值。 - /// - [Newtonsoft.Json.JsonProperty("gain_value")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("gain_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int? GainExperienceValue { get; set; } - } - } - - /// - /// 获取或设置消费金额规则信息。 - /// - [Newtonsoft.Json.JsonProperty("pay_amount_rule")] - [System.Text.Json.Serialization.JsonPropertyName("pay_amount_rule")] - public Types.PayAmountRule? PayAmountRule { get; set; } - - /// - /// 获取或设置消费次数规则信息。 - /// - [Newtonsoft.Json.JsonProperty("pay_time_rule")] - [System.Text.Json.Serialization.JsonPropertyName("pay_time_rule")] - public Types.PayTimesRule? PayTimesRule { get; set; } - } - } - - /// - /// 获取或设置配置信息。 - /// - [Newtonsoft.Json.JsonProperty("conf")] - [System.Text.Json.Serialization.JsonPropertyName("conf")] - public Types.Config Config { get; set; } = new Types.Config(); - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ExperienceValue/ChannelsECVipExperienceValueSetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ExperienceValue/ChannelsECVipExperienceValueSetResponse.cs deleted file mode 100644 index ad40164c..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/ExperienceValue/ChannelsECVipExperienceValueSetResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/experiencevalue/set 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipExperienceValueSetResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardAddRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardAddRequest.cs deleted file mode 100644 index ab9b0be1..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardAddRequest.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/grade/card/add 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipGradeCardAddRequest : WechatApiRequest, IInferable - { - /// - /// 获取或设置会员等级。 - /// - [Newtonsoft.Json.JsonProperty("grade")] - [System.Text.Json.Serialization.JsonPropertyName("grade")] - public int Grade { get; set; } - - /// - /// 获取或设置会员等级名称。 - /// - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// 获取或设置经验值门槛。 - /// - [Newtonsoft.Json.JsonProperty("experience_value_threshold")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("experience_value_threshold")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int ExperienceValueThreshold { get; set; } - - /// - /// 获取或设置经验值倍数(×10)。 - /// - [Newtonsoft.Json.JsonProperty("experience_value_multiple")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("experience_value_multiple")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int ExperienceValueMultiple { get; set; } - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardAddResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardAddResponse.cs deleted file mode 100644 index a7607920..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardAddResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/grade/card/add 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipGradeCardAddResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardGetRequest.cs deleted file mode 100644 index 52da92c5..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardGetRequest.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [GET] /channels/ec/vip/grade/card/get 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipGradeCardGetRequest : WechatApiRequest, IInferable - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardGetResponse.cs deleted file mode 100644 index 231cfd61..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardGetResponse.cs +++ /dev/null @@ -1,172 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [GET] /channels/ec/vip/grade/card/get 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipGradeCardGetResponse : WechatApiResponse - { - public static class Types - { - public class Data - { - public static class Types - { - public class ExperienceValueConfig - { - public static class Types - { - public class PayAmountRule - { - /// - /// 获取或设置消费金额(单位:分)。 - /// - [Newtonsoft.Json.JsonProperty("pay_value")] - [System.Text.Json.Serialization.JsonPropertyName("pay_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int? PayAmount { get; set; } - - /// - /// 获取或设置消费门槛金额(单位:分)。 - /// - [Newtonsoft.Json.JsonProperty("pay_amount_floor")] - [System.Text.Json.Serialization.JsonPropertyName("pay_amount_floor")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int? PayAmountFloor { get; set; } - - /// - /// 获取或设置获得的经验值。 - /// - [Newtonsoft.Json.JsonProperty("gain_value")] - [System.Text.Json.Serialization.JsonPropertyName("gain_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int? GainExperienceValue { get; set; } - } - - public class PayTimesRule - { - /// - /// 获取或设置获得的经验值。 - /// - [Newtonsoft.Json.JsonProperty("gain_value")] - [System.Text.Json.Serialization.JsonPropertyName("gain_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int? GainExperienceValue { get; set; } - } - } - - /// - /// 获取或设置消费金额规则信息。 - /// - [Newtonsoft.Json.JsonProperty("pay_amount_rule")] - [System.Text.Json.Serialization.JsonPropertyName("pay_amount_rule")] - public Types.PayAmountRule? PayAmountRule { get; set; } - - /// - /// 获取或设置消费次数规则信息。 - /// - [Newtonsoft.Json.JsonProperty("pay_time_rule")] - [System.Text.Json.Serialization.JsonPropertyName("pay_time_rule")] - public Types.PayTimesRule? PayTimesRule { get; set; } - } - - public class GradeCardConfig - { - public static class Types - { - public class GradeCard - { - public static class Types - { - public class AuditInfo - { - /// - /// 获取或设置审核状态。 - /// - [Newtonsoft.Json.JsonProperty("status")] - [System.Text.Json.Serialization.JsonPropertyName("status")] - public int Status { get; set; } - - /// - /// 获取或设置最新会员等级名称。 - /// - [Newtonsoft.Json.JsonProperty("latest_name")] - [System.Text.Json.Serialization.JsonPropertyName("latest_name")] - public string? LatestName { get; set; } - } - } - - /// - /// 获取或设置会员等级。 - /// - [Newtonsoft.Json.JsonProperty("grade")] - [System.Text.Json.Serialization.JsonPropertyName("grade")] - public int Grade { get; set; } - - /// - /// 获取或设置会员等级名称。 - /// - [Newtonsoft.Json.JsonProperty("valid_name")] - [System.Text.Json.Serialization.JsonPropertyName("valid_name")] - public string Name { get; set; } = default!; - - /// - /// 获取或设置经验值门槛。 - /// - [Newtonsoft.Json.JsonProperty("experience_value_threshold")] - [System.Text.Json.Serialization.JsonPropertyName("experience_value_threshold")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int ExperienceValueThreshold { get; set; } - - /// - /// 获取或设置经验值倍数(×10)。 - /// - [Newtonsoft.Json.JsonProperty("experience_value_multiple")] - [System.Text.Json.Serialization.JsonPropertyName("experience_value_multiple")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int ExperienceValueMultiple { get; set; } - - /// - /// 获取或设置审核信息。 - /// - [Newtonsoft.Json.JsonProperty("audit_info")] - [System.Text.Json.Serialization.JsonPropertyName("audit_info")] - public Types.AuditInfo? AuditInfo { get; set; } - } - } - - /// - /// 获取或设置会员等级列表。 - /// - [Newtonsoft.Json.JsonProperty("grade_card_list")] - [System.Text.Json.Serialization.JsonPropertyName("grade_card_list")] - public Types.GradeCard[] GradeCardList { get; set; } = default!; - } - } - - /// - /// 获取或设置经验值配置信息。 - /// - [Newtonsoft.Json.JsonProperty("experience_value_conf")] - [System.Text.Json.Serialization.JsonPropertyName("experience_value_conf")] - public Types.ExperienceValueConfig? ExperienceValueConfig { get; set; } - - /// - /// 获取或设置会员等级配置信息。 - /// - [Newtonsoft.Json.JsonProperty("card_conf")] - [System.Text.Json.Serialization.JsonPropertyName("card_conf")] - public Types.GradeCardConfig? GradeCardConfig { get; set; } - } - } - - /// - /// 获取或设置返回数据。 - /// - [Newtonsoft.Json.JsonProperty("info")] - [System.Text.Json.Serialization.JsonPropertyName("info")] - public Types.Data Data { get; set; } = default!; - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardUpdateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardUpdateRequest.cs deleted file mode 100644 index 9f0d29ac..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardUpdateRequest.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/grade/card/update 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipGradeCardUpdateRequest : WechatApiRequest, IInferable - { - /// - /// 获取或设置会员等级。 - /// - [Newtonsoft.Json.JsonProperty("grade")] - [System.Text.Json.Serialization.JsonPropertyName("grade")] - public int Grade { get; set; } - - /// - /// 获取或设置会员等级名称。 - /// - [Newtonsoft.Json.JsonProperty("name")] - [System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardUpdateResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardUpdateResponse.cs deleted file mode 100644 index 051a7aea..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Grade/ChannelsECVipGradeCardUpdateResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/grade/card/update 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipGradeCardUpdateResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreGetRequest.cs deleted file mode 100644 index 348db37c..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreGetRequest.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [GET] /channels/ec/vip/score/get 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipScoreGetRequest : WechatApiRequest, IInferable - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreGetResponse.cs deleted file mode 100644 index 528fece7..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreGetResponse.cs +++ /dev/null @@ -1,111 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [GET] /channels/ec/vip/score/get 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipScoreGetResponse : WechatApiResponse - { - public static class Types - { - public class Config - { - public static class Types - { - public class GainRule - { - public static class Types - { - public class PayAmountRule - { - /// - /// 获取或设置消费积分。 - /// - [Newtonsoft.Json.JsonProperty("pay_value")] - [System.Text.Json.Serialization.JsonPropertyName("pay_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int? PayValue { get; set; } - } - - public class PayTimesRule - { - /// - /// 获取或设置获得积分。 - /// - [Newtonsoft.Json.JsonProperty("gain_value")] - [System.Text.Json.Serialization.JsonPropertyName("gain_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int? GainValue { get; set; } - } - } - - /// - /// 获取或设置消费金额规则信息。 - /// - [Newtonsoft.Json.JsonProperty("pay_amount_rule")] - [System.Text.Json.Serialization.JsonPropertyName("pay_amount_rule")] - public Types.PayAmountRule? PayAmountRule { get; set; } - - /// - /// 获取或设置消费次数规则信息。 - /// - [Newtonsoft.Json.JsonProperty("pay_time_rule")] - [System.Text.Json.Serialization.JsonPropertyName("pay_time_rule")] - public Types.PayTimesRule? PayTimesRule { get; set; } - } - - public class DeductRule - { - /// - /// 获取或设置是否开启。 - /// - [Newtonsoft.Json.JsonProperty("open_mgr")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.NumericalBooleanConverter))] - [System.Text.Json.Serialization.JsonPropertyName("open_mgr")] - [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))] - public bool IsOpen { get; set; } - - /// - /// 获取或设置抵扣比例(单位:百分数)。 - /// - [Newtonsoft.Json.JsonProperty("ratio")] - [System.Text.Json.Serialization.JsonPropertyName("ratio")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int? Ratio { get; set; } - - /// - /// 获取或设置抵扣上限。 - /// - [Newtonsoft.Json.JsonProperty("limit")] - [System.Text.Json.Serialization.JsonPropertyName("limit")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int? Limit { get; set; } - } - } - - /// - /// 获取或设置获取规则信息。 - /// - [Newtonsoft.Json.JsonProperty("gain_rule")] - [System.Text.Json.Serialization.JsonPropertyName("gain_rule")] - public Types.GainRule? GainRule { get; set; } - - /// - /// 获取或设置抵扣规则信息。 - /// - [Newtonsoft.Json.JsonProperty("deduct_rule")] - [System.Text.Json.Serialization.JsonPropertyName("deduct_rule")] - public Types.DeductRule? DeductRule { get; set; } - } - } - - /// - /// 获取或设置配置信息。 - /// - [Newtonsoft.Json.JsonProperty("conf")] - [System.Text.Json.Serialization.JsonPropertyName("conf")] - public Types.Config Config { get; set; } = default!; - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreSetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreSetRequest.cs deleted file mode 100644 index 3f040374..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreSetRequest.cs +++ /dev/null @@ -1,115 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/score/set 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipScoreSetRequest : WechatApiRequest, IInferable - { - public static class Types - { - public class Config - { - public static class Types - { - public class GainRule - { - public static class Types - { - public class PayAmountRule - { - /// - /// 获取或设置消费积分。 - /// - [Newtonsoft.Json.JsonProperty("pay_value")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("pay_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int? PayValue { get; set; } - } - - public class PayTimesRule - { - /// - /// 获取或设置获得积分。 - /// - [Newtonsoft.Json.JsonProperty("gain_value")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("gain_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int? GainValue { get; set; } - } - } - - /// - /// 获取或设置消费金额规则信息。 - /// - [Newtonsoft.Json.JsonProperty("pay_amount_rule")] - [System.Text.Json.Serialization.JsonPropertyName("pay_amount_rule")] - public Types.PayAmountRule? PayAmountRule { get; set; } - - /// - /// 获取或设置消费次数规则信息。 - /// - [Newtonsoft.Json.JsonProperty("pay_time_rule")] - [System.Text.Json.Serialization.JsonPropertyName("pay_time_rule")] - public Types.PayTimesRule? PayTimesRule { get; set; } - } - - public class DeductRule - { - /// - /// 获取或设置是否开启。 - /// - [Newtonsoft.Json.JsonProperty("open_mgr")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.NumericalBooleanConverter))] - [System.Text.Json.Serialization.JsonPropertyName("open_mgr")] - [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))] - public bool IsOpen { get; set; } - - /// - /// 获取或设置抵扣比例(单位:百分数)。 - /// - [Newtonsoft.Json.JsonProperty("ratio")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("ratio")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int? Ratio { get; set; } - - /// - /// 获取或设置抵扣上限。 - /// - [Newtonsoft.Json.JsonProperty("limit")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("limit")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int? Limit { get; set; } - } - } - - /// - /// 获取或设置获取规则信息。 - /// - [Newtonsoft.Json.JsonProperty("gain_rule")] - [System.Text.Json.Serialization.JsonPropertyName("gain_rule")] - public Types.GainRule? GainRule { get; set; } - - /// - /// 获取或设置抵扣规则信息。 - /// - [Newtonsoft.Json.JsonProperty("deduct_rule")] - [System.Text.Json.Serialization.JsonPropertyName("deduct_rule")] - public Types.DeductRule? DeductRule { get; set; } - } - } - - /// - /// 获取或设置配置信息。 - /// - [Newtonsoft.Json.JsonProperty("conf")] - [System.Text.Json.Serialization.JsonPropertyName("conf")] - public Types.Config Config { get; set; } = new Types.Config(); - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreSetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreSetResponse.cs deleted file mode 100644 index 3e121015..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/Score/ChannelsECVipScoreSetResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/score/set 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipScoreSetResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserExperienceValueUpdateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserExperienceValueUpdateRequest.cs deleted file mode 100644 index 4098a281..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserExperienceValueUpdateRequest.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/experiencevalue/update 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserExperienceValueUpdateRequest : WechatApiRequest, IInferable - { - /// - /// 获取或设置用户的 OpenId。 - /// - [Newtonsoft.Json.JsonProperty("openid")] - [System.Text.Json.Serialization.JsonPropertyName("openid")] - public string OpenId { get; set; } = string.Empty; - - /// - /// 获取或设置经验值。 - /// - [Newtonsoft.Json.JsonProperty("experience_value")] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.TextualNumberConverter))] - [System.Text.Json.Serialization.JsonPropertyName("experience_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int ExperienceValue { get; set; } - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserExperienceValueUpdateResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserExperienceValueUpdateResponse.cs deleted file mode 100644 index 545bc17d..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserExperienceValueUpdateResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/experiencevalue/update 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserExperienceValueUpdateResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserGradeUpdateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserGradeUpdateRequest.cs deleted file mode 100644 index ab64d38b..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserGradeUpdateRequest.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/grade/update 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserGradeUpdateRequest : WechatApiRequest, IInferable - { - /// - /// 获取或设置用户的 OpenId。 - /// - [Newtonsoft.Json.JsonProperty("openid")] - [System.Text.Json.Serialization.JsonPropertyName("openid")] - public string OpenId { get; set; } = string.Empty; - - /// - /// 获取或设置会员等级。 - /// - [Newtonsoft.Json.JsonProperty("grade")] - [System.Text.Json.Serialization.JsonPropertyName("grade")] - public int Grade { get; set; } - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserGradeUpdateResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserGradeUpdateResponse.cs deleted file mode 100644 index 538bbaa0..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserGradeUpdateResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/grade/update 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserGradeUpdateResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserInfoGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserInfoGetRequest.cs deleted file mode 100644 index 61f7f348..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserInfoGetRequest.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/info/get 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserInfoGetRequest : WechatApiRequest, IInferable - { - /// - /// 获取或设置用户的 OpenId。 - /// - [Newtonsoft.Json.JsonProperty("openid")] - [System.Text.Json.Serialization.JsonPropertyName("openid")] - public string OpenId { get; set; } = string.Empty; - - /// - /// 获取或设置是否需要获取手机号码。 - /// - [Newtonsoft.Json.JsonProperty("need_phone_number")] - [System.Text.Json.Serialization.JsonPropertyName("need_phone_number")] - public bool? RequirePhoneNumber { get; set; } - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserInfoGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserInfoGetResponse.cs deleted file mode 100644 index 1844b9a3..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserInfoGetResponse.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/info/get 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserInfoGetResponse : WechatApiResponse - { - public static class Types - { - public class VipInfo : ChannelsECVipUserListGetResponse.Types.VipInfo - { - } - } - - /// - /// 获取或设置会员信息。 - /// - [Newtonsoft.Json.JsonProperty("info")] - [System.Text.Json.Serialization.JsonPropertyName("info")] - public Types.VipInfo VipInfo { get; set; } = default!; - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserListGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserListGetRequest.cs deleted file mode 100644 index 97c36965..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserListGetRequest.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/list/get 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserListGetRequest : WechatApiRequest, IInferable - { - /// - /// 获取或设置是否需要获取手机号码。 - /// - [Newtonsoft.Json.JsonProperty("need_phone_number")] - [System.Text.Json.Serialization.JsonPropertyName("need_phone_number")] - public bool? RequirePhoneNumber { get; set; } - - /// - /// 获取或设置分页页数。 - /// 默认值:1 - /// - [Newtonsoft.Json.JsonProperty("page_num")] - [System.Text.Json.Serialization.JsonPropertyName("page_num")] - public int Page { get; set; } = 1; - - /// - /// 获取或设置分页每页数量。 - /// 默认值:10 - /// - [Newtonsoft.Json.JsonProperty("page_size")] - [System.Text.Json.Serialization.JsonPropertyName("page_size")] - public int Limit { get; set; } = 10; - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserListGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserListGetResponse.cs deleted file mode 100644 index 0656e534..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserListGetResponse.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/list/get 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserListGetResponse : WechatApiResponse - { - public static class Types - { - public class VipInfo - { - public static class Types - { - public class UserInfo - { - /// - /// 获取或设置手机号码。 - /// - [Newtonsoft.Json.JsonProperty("phone_number")] - [System.Text.Json.Serialization.JsonPropertyName("phone_number")] - public string PhoneNumber { get; set; } = default!; - } - - public class UserGradeInfo - { - /// - /// 获取或设置会员等级。 - /// - [Newtonsoft.Json.JsonProperty("grade")] - [System.Text.Json.Serialization.JsonPropertyName("grade")] - public int Grade { get; set; } - - /// - /// 获取或设置经验值。 - /// - [Newtonsoft.Json.JsonProperty("experience_value")] - [System.Text.Json.Serialization.JsonPropertyName("experience_value")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int ExperienceValue { get; set; } - } - } - - /// - /// 获取或设置用户的 OpenId。 - /// - [Newtonsoft.Json.JsonProperty("openid")] - [System.Text.Json.Serialization.JsonPropertyName("openid")] - public string OpenId { get; set; } = default!; - - /// - /// 获取或设置用户的 UnionId。 - /// - [Newtonsoft.Json.JsonProperty("unionid")] - [System.Text.Json.Serialization.JsonPropertyName("unionid")] - public string? UnionId { get; set; } - - /// - /// 获取或设置用户信息。 - /// - [Newtonsoft.Json.JsonProperty("user_info")] - [System.Text.Json.Serialization.JsonPropertyName("user_info")] - public Types.UserInfo? UserInfo { get; set; } - - /// - /// 获取或设置用户等级信息。 - /// - [Newtonsoft.Json.JsonProperty("user_grade_info")] - [System.Text.Json.Serialization.JsonPropertyName("user_grade_info")] - public Types.UserGradeInfo? UserGradeInfo { get; set; } - } - } - - /// - /// 获取或设置会员列表。 - /// - [Newtonsoft.Json.JsonProperty("list")] - [System.Text.Json.Serialization.JsonPropertyName("list")] - public Types.VipInfo[] VipList { get; set; } = default!; - - /// - /// 获取或设置总数量。 - /// - [Newtonsoft.Json.JsonProperty("total_num")] - [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int TotalCount { get; set; } - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreDecreaseRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreDecreaseRequest.cs deleted file mode 100644 index 4969feba..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreDecreaseRequest.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/score/decrease 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserScoreDecreaseRequest : ChannelsECVipUserScoreIncreaseRequest, IInferable - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreDecreaseResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreDecreaseResponse.cs deleted file mode 100644 index 477f1b42..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreDecreaseResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/score/decrease 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserScoreDecreaseResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetRequest.cs deleted file mode 100644 index 53203a56..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetRequest.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/score/flowrecord/get 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserScoreFlowRecordGetRequest : WechatApiRequest, IInferable - { - /// - /// 获取或设置用户的 OpenId。 - /// - [Newtonsoft.Json.JsonProperty("openid")] - [System.Text.Json.Serialization.JsonPropertyName("openid")] - public string OpenId { get; set; } = string.Empty; - - /// - /// 获取或设置分页页数。 - /// 默认值:1 - /// - [Newtonsoft.Json.JsonProperty("page_num")] - [System.Text.Json.Serialization.JsonPropertyName("page_num")] - public int Page { get; set; } = 1; - - /// - /// 获取或设置分页每页数量。 - /// 默认值:10 - /// - [Newtonsoft.Json.JsonProperty("page_size")] - [System.Text.Json.Serialization.JsonPropertyName("page_size")] - public int Limit { get; set; } = 10; - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetResponse.cs deleted file mode 100644 index 3fac99a9..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetResponse.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/score/flowrecord/get 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserScoreFlowRecordGetResponse : WechatApiResponse - { - public static class Types - { - public class FlowRecord - { - /// - /// 获取或设置用户积分。 - /// - [Newtonsoft.Json.JsonProperty("score")] - [System.Text.Json.Serialization.JsonPropertyName("score")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int Score { get; set; } - - /// - /// 获取或设置来源。 - /// - [Newtonsoft.Json.JsonProperty("source")] - [System.Text.Json.Serialization.JsonPropertyName("source")] - public int Source { get; set; } - - /// - /// 获取或设置备注。 - /// - [Newtonsoft.Json.JsonProperty("remark")] - [System.Text.Json.Serialization.JsonPropertyName("remark")] - public string? Remark { get; set; } - } - } - - /// - /// 获取或设置积分流水列表。 - /// - [Newtonsoft.Json.JsonProperty("list")] - [System.Text.Json.Serialization.JsonPropertyName("list")] - public Types.FlowRecord[] FlowRecordList { get; set; } = default!; - - /// - /// 获取或设置总数量。 - /// - [Newtonsoft.Json.JsonProperty("total_num")] - [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int TotalCount { get; set; } - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreGetRequest.cs deleted file mode 100644 index 19eaa34b..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreGetRequest.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/score/get 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserScoreGetRequest : WechatApiRequest, IInferable - { - /// - /// 获取或设置用户的 OpenId。 - /// - [Newtonsoft.Json.JsonProperty("openid")] - [System.Text.Json.Serialization.JsonPropertyName("openid")] - public string OpenId { get; set; } = string.Empty; - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreGetResponse.cs deleted file mode 100644 index a4b6c33c..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreGetResponse.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/score/get 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserScoreGetResponse : WechatApiResponse - { - public static class Types - { - public class UserInfo - { - /// - /// 获取或设置用户积分。 - /// - [Newtonsoft.Json.JsonProperty("score")] - [System.Text.Json.Serialization.JsonPropertyName("score")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] - public int Score { get; set; } - } - } - - /// - /// 获取或设置用户信息。 - /// - [Newtonsoft.Json.JsonProperty("info")] - [System.Text.Json.Serialization.JsonPropertyName("info")] - public Types.UserInfo UserInfo { get; set; } = default!; - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreIncreaseRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreIncreaseRequest.cs deleted file mode 100644 index 9ec5b128..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreIncreaseRequest.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/score/increase 接口的请求。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserScoreIncreaseRequest : WechatApiRequest, IInferable - { - /// - /// 获取或设置用户的 OpenId。 - /// - [Newtonsoft.Json.JsonProperty("openid")] - [System.Text.Json.Serialization.JsonPropertyName("openid")] - public string OpenId { get; set; } = string.Empty; - - /// - /// 获取或设置用户积分。 - /// - [Newtonsoft.Json.JsonProperty("score")] - [System.Text.Json.Serialization.JsonPropertyName("score")] - [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString | System.Text.Json.Serialization.JsonNumberHandling.WriteAsString)] - public int Score { get; set; } - - /// - /// 获取或设置请求唯一 ID。 - /// - [Newtonsoft.Json.JsonProperty("request_id")] - [System.Text.Json.Serialization.JsonPropertyName("request_id")] - public string RequestId { get; set; } = string.Empty; - - /// - /// 获取或设置备注。 - /// - [Newtonsoft.Json.JsonProperty("remark")] - [System.Text.Json.Serialization.JsonPropertyName("remark")] - public string? Remark { get; set; } - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreIncreaseResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreIncreaseResponse.cs deleted file mode 100644 index ee6c48c4..00000000 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECVip/User/ChannelsECVipUserScoreIncreaseResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace SKIT.FlurlHttpClient.Wechat.Api.Models -{ - /// - /// 表示 [POST] /channels/ec/vip/user/score/increase 接口的响应。 - /// - [Obsolete("相关接口或字段于 2024-07-22 下线。")] - public class ChannelsECVipUserScoreIncreaseResponse : WechatApiResponse - { - } -} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Order/ProductOrderSearchResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Order/ProductOrderSearchResponse.cs index 8558ddbe..09b33e0f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Order/ProductOrderSearchResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Order/ProductOrderSearchResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /product/order/search 接口的响应。 @@ -24,6 +24,6 @@ /// [Newtonsoft.Json.JsonProperty("total_num")] [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/SPU/ProductSPUGetListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/SPU/ProductSPUGetListResponse.cs index 75cce99c..c50704f7 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/SPU/ProductSPUGetListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/SPU/ProductSPUGetListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /product/spu/get_list 接口的响应。 @@ -24,6 +24,6 @@ /// [Newtonsoft.Json.JsonProperty("total_num")] [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatAdposGeneralResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatAdposGeneralResponse.cs index 45f8069e..34a1a623 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatAdposGeneralResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatAdposGeneralResponse.cs @@ -114,7 +114,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("total_num")] [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } + public int TotalCount { get; set; } public override bool IsSuccessful() { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatCpsGeneralResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatCpsGeneralResponse.cs index ea0c2ad5..45902aaa 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatCpsGeneralResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatCpsGeneralResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /publisher/stat?action=publisher_cps_general 接口的响应。 @@ -107,7 +107,7 @@ /// [Newtonsoft.Json.JsonProperty("total_num")] [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } + public int TotalCount { get; set; } public override bool IsSuccessful() { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatSettlementResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatSettlementResponse.cs index a87aad71..a095920b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatSettlementResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/PublisherStat/PublisherStatSettlementResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /publisher/stat?action=publisher_settlement 接口的响应。 @@ -158,7 +158,7 @@ /// [Newtonsoft.Json.JsonProperty("total_num")] [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } + public int TotalCount { get; set; } public override bool IsSuccessful() { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/SPU/ShopSPUGetListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/SPU/ShopSPUGetListResponse.cs index 3c788150..e91ca023 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/SPU/ShopSPUGetListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/SPU/ShopSPUGetListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /shop/spu/get_list 接口的响应。 @@ -24,6 +24,6 @@ /// [Newtonsoft.Json.JsonProperty("total_num")] [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/TCB/TCBGetStatisticsResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/TCB/TCBGetStatisticsResponse.cs index 1eebf497..ed276e12 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/TCB/TCBGetStatisticsResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/TCB/TCBGetStatisticsResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /tcb/getstatistics 接口的响应。 @@ -62,6 +62,6 @@ /// [Newtonsoft.Json.JsonProperty("total_num")] [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/OpenProduct/UnionPromoterOpenProductListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/OpenProduct/UnionPromoterOpenProductListResponse.cs index 5206aec0..49af537c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/OpenProduct/UnionPromoterOpenProductListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/OpenProduct/UnionPromoterOpenProductListResponse.cs @@ -218,6 +218,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Order/UnionPromoterOrderSearchNormalOrderResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Order/UnionPromoterOrderSearchNormalOrderResponse.cs index a2081143..0f3b838b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Order/UnionPromoterOrderSearchNormalOrderResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Order/UnionPromoterOrderSearchNormalOrderResponse.cs @@ -293,6 +293,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Order/UnionPromoterOrderSearchResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Order/UnionPromoterOrderSearchResponse.cs index d441d736..4ffbf6fb 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Order/UnionPromoterOrderSearchResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Order/UnionPromoterOrderSearchResponse.cs @@ -24,7 +24,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("totalNum")] [System.Text.Json.Serialization.JsonPropertyName("totalNum")] - public int Total { get; set; } + public int TotalCount { get; set; } /// /// 获取或设置分页每页数量。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Product/UnionPromoterProductListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Product/UnionPromoterProductListResponse.cs index a0962670..e29dc1bb 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Product/UnionPromoterProductListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Product/UnionPromoterProductListResponse.cs @@ -573,6 +573,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Product/UnionPromoterProductSelectResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Product/UnionPromoterProductSelectResponse.cs index 640409bd..14e95516 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Product/UnionPromoterProductSelectResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Product/UnionPromoterProductSelectResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /union/promoter/product/select 接口的响应。 @@ -25,6 +25,6 @@ /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Promotion/UnionPromoterPromotionListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Promotion/UnionPromoterPromotionListResponse.cs index a46fad6e..326b205c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Promotion/UnionPromoterPromotionListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Promotion/UnionPromoterPromotionListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /union/promoter/promotion/list 接口的响应。 @@ -38,7 +38,7 @@ /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } /// /// 获取或设置允许创建的推广位最大数量。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionShop/Order/UnionShopOrderSearchNormalOrderResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionShop/Order/UnionShopOrderSearchNormalOrderResponse.cs index 25079127..bb93fc2c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionShop/Order/UnionShopOrderSearchNormalOrderResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionShop/Order/UnionShopOrderSearchNormalOrderResponse.cs @@ -283,6 +283,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/WxaStore/WxaGetStoreListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/WxaStore/WxaGetStoreListResponse.cs index e7b1ea0c..5d2d71f8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/WxaStore/WxaGetStoreListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/WxaStore/WxaGetStoreListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /wxa/get_store_list 接口的响应。 @@ -37,6 +37,6 @@ /// [Newtonsoft.Json.JsonProperty("total_count")] [System.Text.Json.Serialization.JsonPropertyName("total_count")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Comment/WxaApiCommentInfoGetRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Comment/WxaApiCommentInfoGetRequest.cs new file mode 100644 index 00000000..adb32b96 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Comment/WxaApiCommentInfoGetRequest.cs @@ -0,0 +1,15 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [GET] /wxaapi/comment/commentinfo/get 接口的请求。 + /// + public class WxaApiCommentInfoGetRequest : WechatApiRequest, IInferable + { + /// + /// 获取或设置评价 ID。 + /// + [Newtonsoft.Json.JsonIgnore] + [System.Text.Json.Serialization.JsonIgnore] + public string CommentId { get; set; } = string.Empty; + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Comment/WxaApiCommentInfoGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Comment/WxaApiCommentInfoGetResponse.cs new file mode 100644 index 00000000..f72dd720 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Comment/WxaApiCommentInfoGetResponse.cs @@ -0,0 +1,126 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [GET] /wxaapi/comment/commentinfo/get 接口的响应。 + /// + public class WxaApiCommentInfoGetResponse : WechatApiResponse + { + public static class Types + { + public class Data + { + public static class Types + { + public class Comment : WxaApiCommentMpCommentListGetResponse.Types.Comment + { + } + } + + /// + /// 获取或设置评价信息。 + /// + [Newtonsoft.Json.JsonProperty("content")] + [System.Text.Json.Serialization.JsonPropertyName("content")] + public Types.Comment Comment { get; set; } = default!; + } + + public class Process + { + public static class Types + { + public class ActionInfo + { + /// + /// 获取或设置进度类型。 + /// + [Newtonsoft.Json.JsonProperty("type")] + [System.Text.Json.Serialization.JsonPropertyName("type")] + public int Type { get; set; } + + /// + /// 获取或设置更新时间戳。 + /// + [Newtonsoft.Json.JsonProperty("updateTime")] + [System.Text.Json.Serialization.JsonPropertyName("updateTime")] + public long? UpdateTimestamp { get; set; } + } + } + + /// + /// 获取或设置评价 ID。 + /// + [Newtonsoft.Json.JsonProperty("commentId")] + [System.Text.Json.Serialization.JsonPropertyName("commentId")] + public string CommentId { get; set; } = default!; + + /// + /// 获取或设置进度信息列表。 + /// + [Newtonsoft.Json.JsonProperty("actionList")] + [System.Text.Json.Serialization.JsonPropertyName("actionList")] + public Types.ActionInfo[] ActionList { get; set; } = default!; + } + + public class OldComment + { + public static class Types + { + public class ContentInfo : Data.Types.Comment.Types.ContentInfo + { + } + } + + /// + /// 获取或设置评价 ID。 + /// + [Newtonsoft.Json.JsonProperty("commentId")] + [System.Text.Json.Serialization.JsonPropertyName("commentId")] + public string CommentId { get; set; } = default!; + + /// + /// 获取或设置创建时间戳。 + /// + [Newtonsoft.Json.JsonProperty("createTime")] + [System.Text.Json.Serialization.JsonPropertyName("createTime")] + [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] + public long CreateTimestamp { get; set; } + + /// + /// 获取或设置评价分数。 + /// + [Newtonsoft.Json.JsonProperty("score")] + [System.Text.Json.Serialization.JsonPropertyName("score")] + public int Score { get; set; } + + /// + /// 获取或设置评价内容信息。 + /// + [Newtonsoft.Json.JsonProperty("content")] + [System.Text.Json.Serialization.JsonPropertyName("content")] + public Types.ContentInfo ContentInfo { get; set; } = default!; + } + + } + + /// + /// 获取或设置返回数据。 + /// + [Newtonsoft.Json.JsonProperty("info")] + [System.Text.Json.Serialization.JsonPropertyName("info")] + public Types.Data Data { get; set; } = default!; + + /// + /// 获取或设置处理进度信息。 + /// + [Newtonsoft.Json.JsonProperty("processInfo")] + [System.Text.Json.Serialization.JsonPropertyName("processInfo")] + public Types.Process? Process { get; set; } + + /// + /// 获取或设置旧评价信息。 + /// + [Newtonsoft.Json.JsonProperty("oldComment")] + [System.Text.Json.Serialization.JsonPropertyName("oldComment")] + public Types.OldComment? OldComment { get; set; } + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Comment/WxaApiCommentMpCommentListGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Comment/WxaApiCommentMpCommentListGetResponse.cs index 7baf2fab..6b0ab880 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Comment/WxaApiCommentMpCommentListGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Comment/WxaApiCommentMpCommentListGetResponse.cs @@ -259,7 +259,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("extInfo")] [System.Text.Json.Serialization.JsonPropertyName("extInfo")] - public Types.ExtraInfo ExtraInfo { get; set; } = default!; + public Types.ExtraInfo? ExtraInfo { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/LiveBroadcast/Role/WxaApiBroadcastRoleGetRoleListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/LiveBroadcast/Role/WxaApiBroadcastRoleGetRoleListResponse.cs index 76dc4c7e..ac757961 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/LiveBroadcast/Role/WxaApiBroadcastRoleGetRoleListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/LiveBroadcast/Role/WxaApiBroadcastRoleGetRoleListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /wxaapi/broadcast/role/getrolelist 接口的响应。 @@ -65,6 +65,6 @@ /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/NewTemplate/WxaApiNewTemplateGetPublicTemplateTitlesResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/NewTemplate/WxaApiNewTemplateGetPublicTemplateTitlesResponse.cs index 2cfae374..9ad4a1dc 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/NewTemplate/WxaApiNewTemplateGetPublicTemplateTitlesResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/NewTemplate/WxaApiNewTemplateGetPublicTemplateTitlesResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /wxaapi/newtmpl/getpubtemplatetitles 接口的响应。 @@ -39,18 +39,18 @@ } } - /// - /// 获取或设置模板标题数量。 - /// - [Newtonsoft.Json.JsonProperty("count")] - [System.Text.Json.Serialization.JsonPropertyName("count")] - public int Total { get; set; } - /// /// 获取或设置模板标题列表。 /// [Newtonsoft.Json.JsonProperty("data")] [System.Text.Json.Serialization.JsonPropertyName("data")] public Types.TemplateTitle[] TemplateTitleList { get; set; } = default!; + + /// + /// 获取或设置模板标题数量。 + /// + [Newtonsoft.Json.JsonProperty("count")] + [System.Text.Json.Serialization.JsonPropertyName("count")] + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiFeedbackListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiFeedbackListResponse.cs index b12dde9e..cde47c1b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiFeedbackListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiFeedbackListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /wxaapi/feedback/list 接口的响应。 @@ -94,6 +94,6 @@ /// [Newtonsoft.Json.JsonProperty("total_num")] [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiLogJsErrorDetailResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiLogJsErrorDetailResponse.cs index 12169c4d..1e86476a 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiLogJsErrorDetailResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiLogJsErrorDetailResponse.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { @@ -161,6 +161,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("totalCount")] [System.Text.Json.Serialization.JsonPropertyName("totalCount")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiLogJsErrorListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiLogJsErrorListResponse.cs index 07af3d0d..f776bf30 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiLogJsErrorListResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiLogJsErrorListResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /wxaapi/log/jserr_list 接口的响应。 @@ -79,6 +79,6 @@ /// [Newtonsoft.Json.JsonProperty("totalCount")] [System.Text.Json.Serialization.JsonPropertyName("totalCount")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiUserLogSearchResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiUserLogSearchResponse.cs index 7b1878cb..e06dfb6e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiUserLogSearchResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/Operation/WxaApiUserLogSearchResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /wxaapi/userlog/userlog_search 接口的响应。 @@ -124,7 +124,7 @@ /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaBusiness/LiveBroadcast/WxaBusinessGetLiveInfoResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaBusiness/LiveBroadcast/WxaBusinessGetLiveInfoResponse.cs index 996e9246..e5a222cc 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaBusiness/LiveBroadcast/WxaBusinessGetLiveInfoResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaBusiness/LiveBroadcast/WxaBusinessGetLiveInfoResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /wxa/business/getliveinfo 接口的响应。 @@ -223,6 +223,6 @@ /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaBusiness/LiveBroadcast/WxaBusinessGetLiveReplayResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaBusiness/LiveBroadcast/WxaBusinessGetLiveReplayResponse.cs index 7f595750..13bf0c73 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaBusiness/LiveBroadcast/WxaBusinessGetLiveReplayResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaBusiness/LiveBroadcast/WxaBusinessGetLiveReplayResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /wxa/business/getliveinfo?action=get_replay 接口的响应。 @@ -44,6 +44,6 @@ /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Subscribe/WxaGetWxaMpLinkForShowResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Subscribe/WxaGetWxaMpLinkForShowResponse.cs index 7a057769..39ac5f63 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Subscribe/WxaGetWxaMpLinkForShowResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Subscribe/WxaGetWxaMpLinkForShowResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /wxa/getwxamplinkforshow 接口的响应。 @@ -44,6 +44,6 @@ /// [Newtonsoft.Json.JsonProperty("total_num")] [System.Text.Json.Serialization.JsonPropertyName("total_num")] - public int Total { get; set; } + public int TotalCount { get; set; } } } diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/POI/POICheckNotifyEvent.xml b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/POI/POICheckNotifyEvent.xml deleted file mode 100644 index 7cd4f4ea..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/POI/POICheckNotifyEvent.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - 1408622107 - - - - - - - diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinPOI/CgibinPOIAddPOIRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinPOI/CgibinPOIAddPOIRequest.json deleted file mode 100644 index 5c9f501f..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinPOI/CgibinPOIAddPOIRequest.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "business": { - "base_info": { - "sid": "33788392", - "business_name": "15个汉字或30个英文字符内", - "branch_name": "不超过10个字,不能含有括号和特殊字符", - "province": "不超过10个字", - "city": "不超过30个字", - "district": "不超过10个字", - "address": "门店所在的详细街道地址(不要填写省市信息):不超过80个字", - "telephone": "不超53个字符(不可以出现文字)", - "categories": ["美食,小吃快餐"], - "offset_type": 1, - "longitude": 115.32375, - "latitude": 25.097486, - "photo_list": [ - { - "photo_url": "https:// 不超过20张.com" - }, - { - "photo_url": "https://XXX.com" - } - ], - "recommend": "不超过200字。麦辣鸡腿堡套餐,麦乐鸡,全家桶", - "special": "不超过200字。免费wifi,外卖服务", - "introduction": "不超过300字。麦当劳是全球大型跨国连锁餐厅,1940 年创立于美国,在世界上大约拥有3 万间分店。主要售卖汉堡包,以及薯条、炸鸡、汽水、冰品、沙拉、 水果等快餐食品", - "open_time": "8:00-20:00", - "avg_price": 35 - } - } -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinPOI/CgibinPOIUpdatePOIRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinPOI/CgibinPOIUpdatePOIRequest.json deleted file mode 100644 index 78d85c44..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinPOI/CgibinPOIUpdatePOIRequest.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "business": { - "base_info": { - "poi_id": "271864249", - "sid": "A00001", - "telephone": "020-12345678", - "photo_list": [ - { - "photo_url": "https:// XXX.com" - }, - { - "photo_url": "https://XXX.com" - } - ], - "recommend": "麦辣鸡腿堡套餐,麦乐鸡,全家桶", - "special": "免费wifi,外卖服务", - "introduction": "麦当劳是全球大型跨国连锁餐厅,1940 年创立于美国,在世界上大约拥有3 万间分店。主要售卖汉堡包,以及薯条、炸鸡、汽水、冰品、沙拉、水果等快餐食品", - "open_time": "8:00-20:00", - "avg_price": 35 - } - } -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ExperienceValue/ChannelsECVipExperienceValueSetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ExperienceValue/ChannelsECVipExperienceValueSetRequest.json deleted file mode 100644 index 2be5deb6..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/ExperienceValue/ChannelsECVipExperienceValueSetRequest.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "conf": { - "pay_amount_rule": { - "pay_value": "100", - "gain_value": "1", - "pay_amount_floor": "100" - }, - "pay_time_rule": { - "gain_value": "1" - } - } -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Grade/ChannelsECVipGradeCardAddRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Grade/ChannelsECVipGradeCardAddRequest.json deleted file mode 100644 index a1dd575f..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Grade/ChannelsECVipGradeCardAddRequest.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "grade": 1, - "name": "VIP1", - "experience_value_threshold": "100", - "experience_value_multiple": 10 -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Grade/ChannelsECVipGradeCardGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Grade/ChannelsECVipGradeCardGetResponse.json deleted file mode 100644 index ff8814d7..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Grade/ChannelsECVipGradeCardGetResponse.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "errcode": 0, - "errmsg": "ok", - "info": { - "experience_value_conf": { - "pay_amount_rule": { - "pay_value": "100", - "gain_value": "1", - "pay_amount_floor": "100" - }, - "pay_time_rule": { - "gain_value": "1" - } - }, - "card_conf": { - "grade_card_list": [ - { - "grade": 1, - "valid_name": "VIP1", - "experience_value_threshold": "100", - "experience_value_multiple": 10, - "audit_info": { - "latest_name": "VIP1", - "status": 1 - } - }, - { - "grade": 2, - "valid_name": "VIP2", - "experience_value_threshold": "200", - "experience_value_multiple": 12, - "audit_info": { - "latest_name": "高级会员", - "status": 0 - } - } - ] - } - } -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Grade/ChannelsECVipGradeCardUpdateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Grade/ChannelsECVipGradeCardUpdateRequest.json deleted file mode 100644 index 16c6ea54..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Grade/ChannelsECVipGradeCardUpdateRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "grade": 1, - "name": "VIP1" -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Score/ChannelsECVipScoreGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Score/ChannelsECVipScoreGetResponse.json deleted file mode 100644 index 489eb76d..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Score/ChannelsECVipScoreGetResponse.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "errcode": 0, - "errmsg": "ok", - "conf": { - "gain_rule": { - "pay_amount_rule": { - "pay_value": "100" - }, - "pay_time_rule": { - "gain_value": "1" - } - }, - "deduct_rule": { - "open_mgr": 1, - "ratio": "100", - "limit": "100" - } - } -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Score/ChannelsECVipScoreSetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Score/ChannelsECVipScoreSetRequest.json deleted file mode 100644 index 2b1eaec5..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/Score/ChannelsECVipScoreSetRequest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "conf": { - "gain_rule": { - "pay_amount_rule": { - "pay_value": "100" - }, - "pay_time_rule": { - "gain_value": "1" - } - }, - "deduct_rule": { - "open_mgr": 1, - "ratio": "100", - "limit": "100" - } - } -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserExperienceValueUpdateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserExperienceValueUpdateRequest.json deleted file mode 100644 index 9ea24733..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserExperienceValueUpdateRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "openid": "OPENID", - "experience_value": "100" -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserGradeUpdateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserGradeUpdateRequest.json deleted file mode 100644 index 456af3b3..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserGradeUpdateRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "openid": "OPENID", - "grade": 1 -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserInfoGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserInfoGetRequest.json deleted file mode 100644 index 12d92daa..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserInfoGetRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "openid": "OPENID", - "need_phone_number": true -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserInfoGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserInfoGetResponse.json deleted file mode 100644 index 002daf53..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserInfoGetResponse.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "errcode": 0, - "errmsg": "ok", - "info": { - "openid": "OPENID", - "unionid": "UNIONID", - "user_info": { - "phone_number": "123456789" - }, - "user_grade_info": { - "grade": 1, - "experience_value": "100" - } - } -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserListGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserListGetRequest.json deleted file mode 100644 index 6dfd9877..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserListGetRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "need_phone_number": true, - "page_num": 1, - "page_size": 1 -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserListGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserListGetResponse.json deleted file mode 100644 index 6d527371..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserListGetResponse.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "errcode": 0, - "errmsg": "ok", - "list": [ - { - "openid": "OPENID", - "unionid": "UNIONID", - "user_info": { - "phone_number": "123456789" - }, - "user_grade_info": { - "grade": 1, - "experience_value": "100" - } - } - ], - "total_num": 100 -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreDecreaseRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreDecreaseRequest.json deleted file mode 100644 index b7ac93af..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreDecreaseRequest.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "openid": "OPENID", - "score": "100", - "remark": "备注", - "request_id": "REQUEST_ID" -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetRequest.json deleted file mode 100644 index 1835dc3a..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "openid": "OPENID", - "page_num": 1, - "page_size": 200 -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetResponse.json deleted file mode 100644 index 06553262..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreFlowRecordGetResponse.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "errcode": 0, - "errmsg": "ok", - "list": [ - { - "score": "100", - "source": 1, - "remark": "备注" - } - ], - "total_num": 100 -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreGetRequest.json deleted file mode 100644 index af7ee63b..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreGetRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "openid": "OPENID" -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreGetResponse.json deleted file mode 100644 index 94bffe6c..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreGetResponse.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "errcode": 0, - "errmsg": "ok", - "info": { - "score": "100" - } -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreIncreaseRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreIncreaseRequest.json deleted file mode 100644 index b7ac93af..00000000 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECVip/User/ChannelsECVipUserScoreIncreaseRequest.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "openid": "OPENID", - "score": "100", - "remark": "备注", - "request_id": "REQUEST_ID" -} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaApi/Comment/WxaApiCommentInfoGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaApi/Comment/WxaApiCommentInfoGetResponse.json new file mode 100644 index 00000000..b0ee2f42 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaApi/Comment/WxaApiCommentInfoGetResponse.json @@ -0,0 +1,65 @@ +{ + "info": { + "content": { + "commentId": "123", + "createTime": "1669031402", + "userInfo": { + "openid": "xxx", + "headImg": "", + "nickName": "啊哈" + }, + "content": { + "txt": "突突突突突突有", + "media": [ + { + "video": "https://xxx/xx", + "videoCover": "http://xxx/xx", + "videoDuration": 11 + } + ] + }, + "bizInfo": { + "appid": "wx1234567890", + "headImg": "http://wx.qlogo.cn/mmhead/xxxxxx", + "nickName": "xxx的小商店" + }, + "score": 200, + "orderId": "payorder@xxxx", + "wxPayId": "xxxx", + "orderInfo": { + "busiOrderId": "xxxxxx" + }, + "productInfo": { + "productList": [ + { + "name": "我是描述", + "picUrl": "https://xxxxx/x" + } + ] + }, + "payTime": "1669030760", + "amount": 1 + } + }, + "processInfo": { + "commentId": "xxx", + "actionList": [ + { + "type": 1, + "updateTime": 1669031402 + }, + { + "type": 2 + }, + { + "type": 3 + } + ] + }, + "oldComment": { + "commentId": "xxx", + "content": {}, + "score": 100, + "createTime": 11111 + } +}