feat(wxapi): 移除部分已标记为废弃的接口及模型

This commit is contained in:
Fu Diwei 2025-04-29 20:54:58 +08:00
parent 62d2fbad83
commit 3cf32f3680
100 changed files with 348 additions and 2203 deletions

View File

@ -1,47 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
/// <summary>
/// <para>表示 EVENT.poi_check_notify 事件的数据。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#8 ]]>
/// </para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public class POICheckNotifyEvent : WechatApiEvent
{
/// <summary>
/// 获取或设置商户门店 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("UniqId")]
[System.Text.Json.Serialization.JsonPropertyName("UniqId")]
[System.Xml.Serialization.XmlElement("UniqId")]
public string? SID { get; set; }
/// <summary>
/// 获取或设置门店 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("PoiId")]
[System.Text.Json.Serialization.JsonPropertyName("PoiId")]
[System.Xml.Serialization.XmlElement("PoiId")]
public string POIId { get; set; } = default!;
/// <summary>
/// 获取或设置审核结果。
/// </summary>
[Newtonsoft.Json.JsonProperty("Result")]
[System.Text.Json.Serialization.JsonPropertyName("Result")]
[System.Xml.Serialization.XmlElement("Result")]
public string Result { get; set; } = default!;
/// <summary>
/// 获取或设置审核信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("msg")]
[System.Text.Json.Serialization.JsonPropertyName("msg")]
[System.Xml.Serialization.XmlElement("msg")]
public string ResultMessage { get; set; } = default!;
}
}

View File

@ -9,30 +9,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
{
public static class WechatApiClientExecuteCgibinPOIExtensions
{
/// <summary>
/// <para>异步调用 [POST] /cgi-bin/poi/addpoi 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#7 ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public static async Task<Models.CgibinPOIAddPOIResponse> 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<Models.CgibinPOIAddPOIResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /cgi-bin/poi/getpoi 接口。</para>
/// <para>
@ -80,30 +56,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
return await client.SendFlurlRequestAsJsonAsync<Models.CgibinPOIGetPOIListResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /cgi-bin/poi/updatepoi 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#11 ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public static async Task<Models.CgibinPOIUpdatePOIResponse> 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<Models.CgibinPOIUpdatePOIResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /cgi-bin/poi/delpoi 接口。</para>
/// <para>

View File

@ -5137,352 +5137,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
#endregion
#endregion
#region ECVip
#region ECVip/ExperienceValue
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/experiencevalue/set 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/experiencevalue/set.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipExperienceValueSetResponse> 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<Models.ChannelsECVipExperienceValueSetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
#endregion
#region ECVip/Grade
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/grade/card/add 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/grade/add.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipGradeCardAddResponse> 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<Models.ChannelsECVipGradeCardAddResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [GET] /channels/ec/vip/grade/card/get 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/grade/get.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipGradeCardGetResponse> 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<Models.ChannelsECVipGradeCardGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/grade/card/update 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/grade/add.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipGradeCardUpdateResponse> 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<Models.ChannelsECVipGradeCardUpdateResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
#endregion
#region ECVip/Score
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/score/set 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/score/set_conf.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipScoreSetResponse> 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<Models.ChannelsECVipScoreSetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [GET] /channels/ec/vip/score/get 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/score/get_conf.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipScoreGetResponse> 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<Models.ChannelsECVipScoreGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
#endregion
#region ECVip/User
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/user/info/get 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/member/get.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipUserInfoGetResponse> 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<Models.ChannelsECVipUserInfoGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/user/list/get 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/member/get_list.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipUserListGetResponse> 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<Models.ChannelsECVipUserListGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/user/experiencevalue/update 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/experiencevalue/update_user.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipUserExperienceValueUpdateResponse> 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<Models.ChannelsECVipUserExperienceValueUpdateResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/user/grade/update 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/grade/update_user.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipUserGradeUpdateResponse> 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<Models.ChannelsECVipUserGradeUpdateResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/user/score/get 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/score/get_user_score.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipUserScoreGetResponse> 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<Models.ChannelsECVipUserScoreGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/user/score/flowrecord/get 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/score/get_user_flow_record.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipUserScoreFlowRecordGetResponse> 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<Models.ChannelsECVipUserScoreFlowRecordGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/user/score/increase 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/score/incr_user_score.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipUserScoreIncreaseResponse> 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<Models.ChannelsECVipUserScoreIncreaseResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /channels/ec/vip/user/score/decrease 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/doc/channels/API/vip/score/incr_user_score.html ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public static async Task<Models.ChannelsECVipUserScoreDecreaseResponse> 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<Models.ChannelsECVipUserScoreDecreaseResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
#endregion
#endregion
#region ECVoucher
#region ECVoucher/Bill
/// <summary>

View File

@ -62,6 +62,30 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
return await client.SendFlurlRequestAsJsonAsync<Models.WxaApiCommentReplyAndCommentReplyListGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [GET] /wxaapi/comment/commentinfo/get 接口。</para>
/// <para>
/// REF: <br/>
/// <![CDATA[ https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/guarantee/comment.html#_1-3%E6%9F%A5%E8%AF%A2%E8%AF%84%E4%BB%B7%E8%AF%A6%E6%83%85 ]]>
/// </para>
/// </summary>
/// <param name="client"></param>
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.WxaApiCommentInfoGetResponse> 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<Models.WxaApiCommentInfoGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// <para>异步调用 [POST] /wxaapi/comment/commentreply/add 接口。</para>
/// <para>

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /card/batchget 接口的响应。</para>
@ -17,6 +17,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /card/giftcard/order/batchget 接口的响应。</para>
@ -24,6 +24,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_count")]
[System.Text.Json.Serialization.JsonPropertyName("total_count")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /card/paygiftcard/batchget 接口的响应。</para>
@ -24,6 +24,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_count")]
[System.Text.Json.Serialization.JsonPropertyName("total_count")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/comment/list 接口的响应。</para>
@ -75,18 +75,18 @@
}
}
/// <summary>
/// 获取或设置评论总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
/// <summary>
/// 获取或设置评论列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("comment")]
[System.Text.Json.Serialization.JsonPropertyName("comment")]
public Types.Comment[] CommentList { get; set; } = default!;
/// <summary>
/// 获取或设置评论总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/component/api_get_authorizer_list 接口的响应。</para>
@ -37,7 +37,7 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_count")]
[System.Text.Json.Serialization.JsonPropertyName("total_count")]
public int Total { get; set; }
public int TotalCount { get; set; }
/// <summary>
/// 获取或设置授权方列表。

View File

@ -37,6 +37,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("count")]
[System.Text.Json.Serialization.JsonPropertyName("count")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -178,6 +178,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -137,6 +137,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/guide/getguidebuyerchatrecord 接口的响应。</para>
@ -53,18 +53,18 @@
}
}
/// <summary>
/// 获取或设置消息记录总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
/// <summary>
/// 获取或设置消息记录列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("msg_list")]
[System.Text.Json.Serialization.JsonPropertyName("msg_list")]
public Types.ChatRecord[] ChatRecordList { get; set; } = default!;
/// <summary>
/// 获取或设置消息记录总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/guide/getguidebuyerrelationlist 接口的响应。</para>
@ -32,18 +32,18 @@
}
}
/// <summary>
/// 获取或设置客户总数量。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
/// <summary>
/// 获取或设置客户账号列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("list")]
[System.Text.Json.Serialization.JsonPropertyName("list")]
public Types.Buyer[]? BuyerList { get; set; }
/// <summary>
/// 获取或设置客户总数量。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/guide/getgroupinfo 接口的响应。</para>
@ -46,18 +46,18 @@
}
}
/// <summary>
/// 获取或设置组内顾问人员总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
/// <summary>
/// 获取或设置顾问列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("guide_list")]
[System.Text.Json.Serialization.JsonPropertyName("guide_list")]
public Types.Guide[] GuideList { get; set; } = default!;
/// <summary>
/// 获取或设置组内顾问人员总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/guide/getguidemassendjoblist 接口的响应。</para>
@ -12,18 +12,18 @@
}
}
/// <summary>
/// 获取或设置任务总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_count")]
[System.Text.Json.Serialization.JsonPropertyName("total_count")]
public int Total { get; set; }
/// <summary>
/// 获取或设置群发任务列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("list")]
[System.Text.Json.Serialization.JsonPropertyName("list")]
public Types.Job[] JobList { get; set; } = default!;
/// <summary>
/// 获取或设置任务总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_count")]
[System.Text.Json.Serialization.JsonPropertyName("total_count")]
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/guide/getguideimagematerial 接口的响应。</para>
@ -18,18 +18,18 @@
}
}
/// <summary>
/// 获取或设置图片素材总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
/// <summary>
/// 获取或设置图片素材列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("model_list")]
[System.Text.Json.Serialization.JsonPropertyName("model_list")]
public Types.ImageMaterial[] ImageList { get; set; } = default!;
/// <summary>
/// 获取或设置图片素材总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/guide/getguidewordmaterial 接口的响应。</para>
@ -25,18 +25,18 @@
}
}
/// <summary>
/// 获取或设置图片素材总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
/// <summary>
/// 获取或设置文字素材列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("word_list")]
[System.Text.Json.Serialization.JsonPropertyName("word_list")]
public Types.WordMaterial[] WordList { get; set; } = default!;
/// <summary>
/// 获取或设置图片素材总数。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int TotalCount { get; set; }
}
}

View File

@ -1,177 +0,0 @@
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/poi/addpoi 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public class CgibinPOIAddPOIRequest : WechatApiRequest, IInferable<CgibinPOIAddPOIRequest, CgibinPOIAddPOIResponse>
{
public static class Types
{
public class POI
{
public static class Types
{
public class Base
{
public static class Types
{
public class Photo
{
/// <summary>
/// 获取或设置照片 URL。
/// </summary>
[Newtonsoft.Json.JsonProperty("photo_url")]
[System.Text.Json.Serialization.JsonPropertyName("photo_url")]
public string PhotoUrl { get; set; } = string.Empty;
}
}
/// <summary>
/// 获取或设置商户门店 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("sid")]
[System.Text.Json.Serialization.JsonPropertyName("sid")]
public string? SID { get; set; }
/// <summary>
/// 获取或设置门店名称。
/// </summary>
[Newtonsoft.Json.JsonProperty("business_name")]
[System.Text.Json.Serialization.JsonPropertyName("business_name")]
public string BusinessName { get; set; } = string.Empty;
/// <summary>
/// 获取或设置分店名称。
/// </summary>
[Newtonsoft.Json.JsonProperty("branch_name")]
[System.Text.Json.Serialization.JsonPropertyName("branch_name")]
public string BranchName { get; set; } = string.Empty;
/// <summary>
/// 获取或设置省份。
/// </summary>
[Newtonsoft.Json.JsonProperty("province")]
[System.Text.Json.Serialization.JsonPropertyName("province")]
public string Province { get; set; } = string.Empty;
/// <summary>
/// 获取或设置城市。
/// </summary>
[Newtonsoft.Json.JsonProperty("city")]
[System.Text.Json.Serialization.JsonPropertyName("city")]
public string City { get; set; } = string.Empty;
/// <summary>
/// 获取或设置区县。
/// </summary>
[Newtonsoft.Json.JsonProperty("district")]
[System.Text.Json.Serialization.JsonPropertyName("district")]
public string District { get; set; } = string.Empty;
/// <summary>
/// 获取或设置详细地址。
/// </summary>
[Newtonsoft.Json.JsonProperty("address")]
[System.Text.Json.Serialization.JsonPropertyName("address")]
public string Address { get; set; } = string.Empty;
/// <summary>
/// 获取或设置联系电话。
/// </summary>
[Newtonsoft.Json.JsonProperty("telephone")]
[System.Text.Json.Serialization.JsonPropertyName("telephone")]
public string Telephone { get; set; } = string.Empty;
/// <summary>
/// 获取或设置分类列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("categories")]
[System.Text.Json.Serialization.JsonPropertyName("categories")]
public IList<string> CategoryList { get; set; } = new List<string>();
/// <summary>
/// 获取或设置坐标类型。
/// </summary>
[Newtonsoft.Json.JsonProperty("offset_type")]
[System.Text.Json.Serialization.JsonPropertyName("offset_type")]
public int CoordinateType { get; set; }
/// <summary>
/// 获取或设置坐标经度。
/// </summary>
[Newtonsoft.Json.JsonProperty("longitude")]
[System.Text.Json.Serialization.JsonPropertyName("longitude")]
public decimal Longitude { get; set; }
/// <summary>
/// 获取或设置坐标纬度。
/// </summary>
[Newtonsoft.Json.JsonProperty("latitude")]
[System.Text.Json.Serialization.JsonPropertyName("latitude")]
public decimal Latitude { get; set; }
/// <summary>
/// 获取或设置门店照片列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("photo_list")]
[System.Text.Json.Serialization.JsonPropertyName("photo_list")]
public IList<Types.Photo>? PhotoList { get; set; }
/// <summary>
/// 获取或设置推荐品。
/// </summary>
[Newtonsoft.Json.JsonProperty("recommend")]
[System.Text.Json.Serialization.JsonPropertyName("recommend")]
public string? Recommend { get; set; }
/// <summary>
/// 获取或设置特色服务。
/// </summary>
[Newtonsoft.Json.JsonProperty("special")]
[System.Text.Json.Serialization.JsonPropertyName("special")]
public string? Special { get; set; }
/// <summary>
/// 获取或设置商户简介。
/// </summary>
[Newtonsoft.Json.JsonProperty("introduction")]
[System.Text.Json.Serialization.JsonPropertyName("introduction")]
public string? Introduction { get; set; }
/// <summary>
/// 获取或设置营业时间。
/// </summary>
[Newtonsoft.Json.JsonProperty("open_time")]
[System.Text.Json.Serialization.JsonPropertyName("open_time")]
public string? OpenTime { get; set; }
/// <summary>
/// 获取或设置人均价格(单位:元)。
/// </summary>
[Newtonsoft.Json.JsonProperty("avg_price")]
[System.Text.Json.Serialization.JsonPropertyName("avg_price")]
public decimal? AveragePrice { get; set; }
}
}
/// <summary>
/// 获取或设置门店基本信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("base_info")]
[System.Text.Json.Serialization.JsonPropertyName("base_info")]
public Types.Base Base { get; set; } = new Types.Base();
}
}
/// <summary>
/// 获取或设置门店信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("business")]
[System.Text.Json.Serialization.JsonPropertyName("business")]
public Types.POI POI { get; set; } = new Types.POI();
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/poi/addpoi 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public class CgibinPOIAddPOIResponse : WechatApiResponse
{
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/poi/getpoilist 接口的响应。</para>
@ -65,6 +65,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_count")]
[System.Text.Json.Serialization.JsonPropertyName("total_count")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,108 +0,0 @@
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/poi/updatepoi 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public class CgibinPOIUpdatePOIRequest : WechatApiRequest, IInferable<CgibinPOIUpdatePOIRequest, CgibinPOIUpdatePOIResponse>
{
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
{
}
}
/// <summary>
/// 获取或设置商户门店 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("sid")]
[System.Text.Json.Serialization.JsonPropertyName("sid")]
public string? SID { get; set; }
/// <summary>
/// 获取或设置门店 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("poi_id")]
[System.Text.Json.Serialization.JsonPropertyName("poi_id")]
public string POIId { get; set; } = string.Empty;
/// <summary>
/// 获取或设置联系电话。
/// </summary>
[Newtonsoft.Json.JsonProperty("telephone")]
[System.Text.Json.Serialization.JsonPropertyName("telephone")]
public string? Telephone { get; set; }
/// <summary>
/// 获取或设置门店照片列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("photo_list")]
[System.Text.Json.Serialization.JsonPropertyName("photo_list")]
public IList<Types.Photo>? PhotoList { get; set; }
/// <summary>
/// 获取或设置推荐品。
/// </summary>
[Newtonsoft.Json.JsonProperty("recommend")]
[System.Text.Json.Serialization.JsonPropertyName("recommend")]
public string? Recommend { get; set; }
/// <summary>
/// 获取或设置特色服务。
/// </summary>
[Newtonsoft.Json.JsonProperty("special")]
[System.Text.Json.Serialization.JsonPropertyName("special")]
public string? Special { get; set; }
/// <summary>
/// 获取或设置商户简介。
/// </summary>
[Newtonsoft.Json.JsonProperty("introduction")]
[System.Text.Json.Serialization.JsonPropertyName("introduction")]
public string? Introduction { get; set; }
/// <summary>
/// 获取或设置营业时间。
/// </summary>
[Newtonsoft.Json.JsonProperty("open_time")]
[System.Text.Json.Serialization.JsonPropertyName("open_time")]
public string? OpenTime { get; set; }
/// <summary>
/// 获取或设置人均价格(单位:元)。
/// </summary>
[Newtonsoft.Json.JsonProperty("avg_price")]
[System.Text.Json.Serialization.JsonPropertyName("avg_price")]
public decimal? AveragePrice { get; set; }
}
}
/// <summary>
/// 获取或设置门店基本信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("base_info")]
[System.Text.Json.Serialization.JsonPropertyName("base_info")]
public Types.Base Base { get; set; } = new Types.Base();
}
}
/// <summary>
/// 获取或设置门店信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("business")]
[System.Text.Json.Serialization.JsonPropertyName("business")]
public Types.Business Business { get; set; } = new Types.Business();
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/poi/updatepoi 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public class CgibinPOIUpdatePOIResponse : WechatApiResponse
{
}
}

View File

@ -1,83 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/experiencevalue/set 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipExperienceValueSetRequest : WechatApiRequest, IInferable<ChannelsECVipExperienceValueSetRequest, ChannelsECVipExperienceValueSetResponse>
{
public static class Types
{
public class Config
{
public static class Types
{
public class PayAmountRule
{
/// <summary>
/// 获取或设置消费金额(单位:分)。
/// </summary>
[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; }
/// <summary>
/// 获取或设置消费门槛金额(单位:分)。
/// </summary>
[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; }
/// <summary>
/// 获取或设置获得的经验值。
/// </summary>
[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
{
/// <summary>
/// 获取或设置获得的经验值。
/// </summary>
[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; }
}
}
/// <summary>
/// 获取或设置消费金额规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("pay_amount_rule")]
[System.Text.Json.Serialization.JsonPropertyName("pay_amount_rule")]
public Types.PayAmountRule? PayAmountRule { get; set; }
/// <summary>
/// 获取或设置消费次数规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("pay_time_rule")]
[System.Text.Json.Serialization.JsonPropertyName("pay_time_rule")]
public Types.PayTimesRule? PayTimesRule { get; set; }
}
}
/// <summary>
/// 获取或设置配置信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("conf")]
[System.Text.Json.Serialization.JsonPropertyName("conf")]
public Types.Config Config { get; set; } = new Types.Config();
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/experiencevalue/set 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipExperienceValueSetResponse : WechatApiResponse
{
}
}

View File

@ -1,43 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/grade/card/add 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipGradeCardAddRequest : WechatApiRequest, IInferable<ChannelsECVipGradeCardAddRequest, ChannelsECVipGradeCardAddResponse>
{
/// <summary>
/// 获取或设置会员等级。
/// </summary>
[Newtonsoft.Json.JsonProperty("grade")]
[System.Text.Json.Serialization.JsonPropertyName("grade")]
public int Grade { get; set; }
/// <summary>
/// 获取或设置会员等级名称。
/// </summary>
[Newtonsoft.Json.JsonProperty("name")]
[System.Text.Json.Serialization.JsonPropertyName("name")]
public string? Name { get; set; }
/// <summary>
/// 获取或设置经验值门槛。
/// </summary>
[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; }
/// <summary>
/// 获取或设置经验值倍数×10
/// </summary>
[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; }
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/grade/card/add 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipGradeCardAddResponse : WechatApiResponse
{
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /channels/ec/vip/grade/card/get 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipGradeCardGetRequest : WechatApiRequest, IInferable<ChannelsECVipGradeCardGetRequest, ChannelsECVipGradeCardGetResponse>
{
}
}

View File

@ -1,172 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /channels/ec/vip/grade/card/get 接口的响应。</para>
/// </summary>
[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
{
/// <summary>
/// 获取或设置消费金额(单位:分)。
/// </summary>
[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; }
/// <summary>
/// 获取或设置消费门槛金额(单位:分)。
/// </summary>
[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; }
/// <summary>
/// 获取或设置获得的经验值。
/// </summary>
[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
{
/// <summary>
/// 获取或设置获得的经验值。
/// </summary>
[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; }
}
}
/// <summary>
/// 获取或设置消费金额规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("pay_amount_rule")]
[System.Text.Json.Serialization.JsonPropertyName("pay_amount_rule")]
public Types.PayAmountRule? PayAmountRule { get; set; }
/// <summary>
/// 获取或设置消费次数规则信息。
/// </summary>
[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
{
/// <summary>
/// 获取或设置审核状态。
/// </summary>
[Newtonsoft.Json.JsonProperty("status")]
[System.Text.Json.Serialization.JsonPropertyName("status")]
public int Status { get; set; }
/// <summary>
/// 获取或设置最新会员等级名称。
/// </summary>
[Newtonsoft.Json.JsonProperty("latest_name")]
[System.Text.Json.Serialization.JsonPropertyName("latest_name")]
public string? LatestName { get; set; }
}
}
/// <summary>
/// 获取或设置会员等级。
/// </summary>
[Newtonsoft.Json.JsonProperty("grade")]
[System.Text.Json.Serialization.JsonPropertyName("grade")]
public int Grade { get; set; }
/// <summary>
/// 获取或设置会员等级名称。
/// </summary>
[Newtonsoft.Json.JsonProperty("valid_name")]
[System.Text.Json.Serialization.JsonPropertyName("valid_name")]
public string Name { get; set; } = default!;
/// <summary>
/// 获取或设置经验值门槛。
/// </summary>
[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; }
/// <summary>
/// 获取或设置经验值倍数×10
/// </summary>
[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; }
/// <summary>
/// 获取或设置审核信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("audit_info")]
[System.Text.Json.Serialization.JsonPropertyName("audit_info")]
public Types.AuditInfo? AuditInfo { get; set; }
}
}
/// <summary>
/// 获取或设置会员等级列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("grade_card_list")]
[System.Text.Json.Serialization.JsonPropertyName("grade_card_list")]
public Types.GradeCard[] GradeCardList { get; set; } = default!;
}
}
/// <summary>
/// 获取或设置经验值配置信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("experience_value_conf")]
[System.Text.Json.Serialization.JsonPropertyName("experience_value_conf")]
public Types.ExperienceValueConfig? ExperienceValueConfig { get; set; }
/// <summary>
/// 获取或设置会员等级配置信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("card_conf")]
[System.Text.Json.Serialization.JsonPropertyName("card_conf")]
public Types.GradeCardConfig? GradeCardConfig { get; set; }
}
}
/// <summary>
/// 获取或设置返回数据。
/// </summary>
[Newtonsoft.Json.JsonProperty("info")]
[System.Text.Json.Serialization.JsonPropertyName("info")]
public Types.Data Data { get; set; } = default!;
}
}

View File

@ -1,25 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/grade/card/update 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipGradeCardUpdateRequest : WechatApiRequest, IInferable<ChannelsECVipGradeCardUpdateRequest, ChannelsECVipGradeCardUpdateResponse>
{
/// <summary>
/// 获取或设置会员等级。
/// </summary>
[Newtonsoft.Json.JsonProperty("grade")]
[System.Text.Json.Serialization.JsonPropertyName("grade")]
public int Grade { get; set; }
/// <summary>
/// 获取或设置会员等级名称。
/// </summary>
[Newtonsoft.Json.JsonProperty("name")]
[System.Text.Json.Serialization.JsonPropertyName("name")]
public string? Name { get; set; }
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/grade/card/update 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipGradeCardUpdateResponse : WechatApiResponse
{
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /channels/ec/vip/score/get 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipScoreGetRequest : WechatApiRequest, IInferable<ChannelsECVipScoreGetRequest, ChannelsECVipScoreGetResponse>
{
}
}

View File

@ -1,111 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /channels/ec/vip/score/get 接口的响应。</para>
/// </summary>
[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
{
/// <summary>
/// 获取或设置消费积分。
/// </summary>
[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
{
/// <summary>
/// 获取或设置获得积分。
/// </summary>
[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; }
}
}
/// <summary>
/// 获取或设置消费金额规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("pay_amount_rule")]
[System.Text.Json.Serialization.JsonPropertyName("pay_amount_rule")]
public Types.PayAmountRule? PayAmountRule { get; set; }
/// <summary>
/// 获取或设置消费次数规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("pay_time_rule")]
[System.Text.Json.Serialization.JsonPropertyName("pay_time_rule")]
public Types.PayTimesRule? PayTimesRule { get; set; }
}
public class DeductRule
{
/// <summary>
/// 获取或设置是否开启。
/// </summary>
[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; }
/// <summary>
/// 获取或设置抵扣比例(单位:百分数)。
/// </summary>
[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; }
/// <summary>
/// 获取或设置抵扣上限。
/// </summary>
[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; }
}
}
/// <summary>
/// 获取或设置获取规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("gain_rule")]
[System.Text.Json.Serialization.JsonPropertyName("gain_rule")]
public Types.GainRule? GainRule { get; set; }
/// <summary>
/// 获取或设置抵扣规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("deduct_rule")]
[System.Text.Json.Serialization.JsonPropertyName("deduct_rule")]
public Types.DeductRule? DeductRule { get; set; }
}
}
/// <summary>
/// 获取或设置配置信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("conf")]
[System.Text.Json.Serialization.JsonPropertyName("conf")]
public Types.Config Config { get; set; } = default!;
}
}

View File

@ -1,115 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/score/set 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipScoreSetRequest : WechatApiRequest, IInferable<ChannelsECVipScoreSetRequest, ChannelsECVipScoreSetResponse>
{
public static class Types
{
public class Config
{
public static class Types
{
public class GainRule
{
public static class Types
{
public class PayAmountRule
{
/// <summary>
/// 获取或设置消费积分。
/// </summary>
[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
{
/// <summary>
/// 获取或设置获得积分。
/// </summary>
[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; }
}
}
/// <summary>
/// 获取或设置消费金额规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("pay_amount_rule")]
[System.Text.Json.Serialization.JsonPropertyName("pay_amount_rule")]
public Types.PayAmountRule? PayAmountRule { get; set; }
/// <summary>
/// 获取或设置消费次数规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("pay_time_rule")]
[System.Text.Json.Serialization.JsonPropertyName("pay_time_rule")]
public Types.PayTimesRule? PayTimesRule { get; set; }
}
public class DeductRule
{
/// <summary>
/// 获取或设置是否开启。
/// </summary>
[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; }
/// <summary>
/// 获取或设置抵扣比例(单位:百分数)。
/// </summary>
[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; }
/// <summary>
/// 获取或设置抵扣上限。
/// </summary>
[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; }
}
}
/// <summary>
/// 获取或设置获取规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("gain_rule")]
[System.Text.Json.Serialization.JsonPropertyName("gain_rule")]
public Types.GainRule? GainRule { get; set; }
/// <summary>
/// 获取或设置抵扣规则信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("deduct_rule")]
[System.Text.Json.Serialization.JsonPropertyName("deduct_rule")]
public Types.DeductRule? DeductRule { get; set; }
}
}
/// <summary>
/// 获取或设置配置信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("conf")]
[System.Text.Json.Serialization.JsonPropertyName("conf")]
public Types.Config Config { get; set; } = new Types.Config();
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/score/set 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipScoreSetResponse : WechatApiResponse
{
}
}

View File

@ -1,27 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/experiencevalue/update 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserExperienceValueUpdateRequest : WechatApiRequest, IInferable<ChannelsECVipUserExperienceValueUpdateRequest, ChannelsECVipUserExperienceValueUpdateResponse>
{
/// <summary>
/// 获取或设置用户的 OpenId。
/// </summary>
[Newtonsoft.Json.JsonProperty("openid")]
[System.Text.Json.Serialization.JsonPropertyName("openid")]
public string OpenId { get; set; } = string.Empty;
/// <summary>
/// 获取或设置经验值。
/// </summary>
[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; }
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/experiencevalue/update 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserExperienceValueUpdateResponse : WechatApiResponse
{
}
}

View File

@ -1,25 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/grade/update 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserGradeUpdateRequest : WechatApiRequest, IInferable<ChannelsECVipUserGradeUpdateRequest, ChannelsECVipUserGradeUpdateResponse>
{
/// <summary>
/// 获取或设置用户的 OpenId。
/// </summary>
[Newtonsoft.Json.JsonProperty("openid")]
[System.Text.Json.Serialization.JsonPropertyName("openid")]
public string OpenId { get; set; } = string.Empty;
/// <summary>
/// 获取或设置会员等级。
/// </summary>
[Newtonsoft.Json.JsonProperty("grade")]
[System.Text.Json.Serialization.JsonPropertyName("grade")]
public int Grade { get; set; }
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/grade/update 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserGradeUpdateResponse : WechatApiResponse
{
}
}

View File

@ -1,25 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/info/get 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserInfoGetRequest : WechatApiRequest, IInferable<ChannelsECVipUserInfoGetRequest, ChannelsECVipUserInfoGetResponse>
{
/// <summary>
/// 获取或设置用户的 OpenId。
/// </summary>
[Newtonsoft.Json.JsonProperty("openid")]
[System.Text.Json.Serialization.JsonPropertyName("openid")]
public string OpenId { get; set; } = string.Empty;
/// <summary>
/// 获取或设置是否需要获取手机号码。
/// </summary>
[Newtonsoft.Json.JsonProperty("need_phone_number")]
[System.Text.Json.Serialization.JsonPropertyName("need_phone_number")]
public bool? RequirePhoneNumber { get; set; }
}
}

View File

@ -1,25 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/info/get 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserInfoGetResponse : WechatApiResponse
{
public static class Types
{
public class VipInfo : ChannelsECVipUserListGetResponse.Types.VipInfo
{
}
}
/// <summary>
/// 获取或设置会员信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("info")]
[System.Text.Json.Serialization.JsonPropertyName("info")]
public Types.VipInfo VipInfo { get; set; } = default!;
}
}

View File

@ -1,34 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/list/get 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserListGetRequest : WechatApiRequest, IInferable<ChannelsECVipUserListGetRequest, ChannelsECVipUserListGetResponse>
{
/// <summary>
/// 获取或设置是否需要获取手机号码。
/// </summary>
[Newtonsoft.Json.JsonProperty("need_phone_number")]
[System.Text.Json.Serialization.JsonPropertyName("need_phone_number")]
public bool? RequirePhoneNumber { get; set; }
/// <summary>
/// 获取或设置分页页数。
/// <para>默认值1</para>
/// </summary>
[Newtonsoft.Json.JsonProperty("page_num")]
[System.Text.Json.Serialization.JsonPropertyName("page_num")]
public int Page { get; set; } = 1;
/// <summary>
/// 获取或设置分页每页数量。
/// <para>默认值10</para>
/// </summary>
[Newtonsoft.Json.JsonProperty("page_size")]
[System.Text.Json.Serialization.JsonPropertyName("page_size")]
public int Limit { get; set; } = 10;
}
}

View File

@ -1,90 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/list/get 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserListGetResponse : WechatApiResponse
{
public static class Types
{
public class VipInfo
{
public static class Types
{
public class UserInfo
{
/// <summary>
/// 获取或设置手机号码。
/// </summary>
[Newtonsoft.Json.JsonProperty("phone_number")]
[System.Text.Json.Serialization.JsonPropertyName("phone_number")]
public string PhoneNumber { get; set; } = default!;
}
public class UserGradeInfo
{
/// <summary>
/// 获取或设置会员等级。
/// </summary>
[Newtonsoft.Json.JsonProperty("grade")]
[System.Text.Json.Serialization.JsonPropertyName("grade")]
public int Grade { get; set; }
/// <summary>
/// 获取或设置经验值。
/// </summary>
[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; }
}
}
/// <summary>
/// 获取或设置用户的 OpenId。
/// </summary>
[Newtonsoft.Json.JsonProperty("openid")]
[System.Text.Json.Serialization.JsonPropertyName("openid")]
public string OpenId { get; set; } = default!;
/// <summary>
/// 获取或设置用户的 UnionId。
/// </summary>
[Newtonsoft.Json.JsonProperty("unionid")]
[System.Text.Json.Serialization.JsonPropertyName("unionid")]
public string? UnionId { get; set; }
/// <summary>
/// 获取或设置用户信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("user_info")]
[System.Text.Json.Serialization.JsonPropertyName("user_info")]
public Types.UserInfo? UserInfo { get; set; }
/// <summary>
/// 获取或设置用户等级信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("user_grade_info")]
[System.Text.Json.Serialization.JsonPropertyName("user_grade_info")]
public Types.UserGradeInfo? UserGradeInfo { get; set; }
}
}
/// <summary>
/// 获取或设置会员列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("list")]
[System.Text.Json.Serialization.JsonPropertyName("list")]
public Types.VipInfo[] VipList { get; set; } = default!;
/// <summary>
/// 获取或设置总数量。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int TotalCount { get; set; }
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/score/decrease 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserScoreDecreaseRequest : ChannelsECVipUserScoreIncreaseRequest, IInferable<ChannelsECVipUserScoreDecreaseRequest, ChannelsECVipUserScoreDecreaseResponse>
{
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/score/decrease 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserScoreDecreaseResponse : WechatApiResponse
{
}
}

View File

@ -1,34 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/score/flowrecord/get 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserScoreFlowRecordGetRequest : WechatApiRequest, IInferable<ChannelsECVipUserScoreFlowRecordGetRequest, ChannelsECVipUserScoreFlowRecordGetResponse>
{
/// <summary>
/// 获取或设置用户的 OpenId。
/// </summary>
[Newtonsoft.Json.JsonProperty("openid")]
[System.Text.Json.Serialization.JsonPropertyName("openid")]
public string OpenId { get; set; } = string.Empty;
/// <summary>
/// 获取或设置分页页数。
/// <para>默认值1</para>
/// </summary>
[Newtonsoft.Json.JsonProperty("page_num")]
[System.Text.Json.Serialization.JsonPropertyName("page_num")]
public int Page { get; set; } = 1;
/// <summary>
/// 获取或设置分页每页数量。
/// <para>默认值10</para>
/// </summary>
[Newtonsoft.Json.JsonProperty("page_size")]
[System.Text.Json.Serialization.JsonPropertyName("page_size")]
public int Limit { get; set; } = 10;
}
}

View File

@ -1,53 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/score/flowrecord/get 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserScoreFlowRecordGetResponse : WechatApiResponse
{
public static class Types
{
public class FlowRecord
{
/// <summary>
/// 获取或设置用户积分。
/// </summary>
[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; }
/// <summary>
/// 获取或设置来源。
/// </summary>
[Newtonsoft.Json.JsonProperty("source")]
[System.Text.Json.Serialization.JsonPropertyName("source")]
public int Source { get; set; }
/// <summary>
/// 获取或设置备注。
/// </summary>
[Newtonsoft.Json.JsonProperty("remark")]
[System.Text.Json.Serialization.JsonPropertyName("remark")]
public string? Remark { get; set; }
}
}
/// <summary>
/// 获取或设置积分流水列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("list")]
[System.Text.Json.Serialization.JsonPropertyName("list")]
public Types.FlowRecord[] FlowRecordList { get; set; } = default!;
/// <summary>
/// 获取或设置总数量。
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int TotalCount { get; set; }
}
}

View File

@ -1,18 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/score/get 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserScoreGetRequest : WechatApiRequest, IInferable<ChannelsECVipUserScoreGetRequest, ChannelsECVipUserScoreGetResponse>
{
/// <summary>
/// 获取或设置用户的 OpenId。
/// </summary>
[Newtonsoft.Json.JsonProperty("openid")]
[System.Text.Json.Serialization.JsonPropertyName("openid")]
public string OpenId { get; set; } = string.Empty;
}
}

View File

@ -1,32 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/score/get 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserScoreGetResponse : WechatApiResponse
{
public static class Types
{
public class UserInfo
{
/// <summary>
/// 获取或设置用户积分。
/// </summary>
[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; }
}
}
/// <summary>
/// 获取或设置用户信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("info")]
[System.Text.Json.Serialization.JsonPropertyName("info")]
public Types.UserInfo UserInfo { get; set; } = default!;
}
}

View File

@ -1,40 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/score/increase 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserScoreIncreaseRequest : WechatApiRequest, IInferable<ChannelsECVipUserScoreIncreaseRequest, ChannelsECVipUserScoreIncreaseResponse>
{
/// <summary>
/// 获取或设置用户的 OpenId。
/// </summary>
[Newtonsoft.Json.JsonProperty("openid")]
[System.Text.Json.Serialization.JsonPropertyName("openid")]
public string OpenId { get; set; } = string.Empty;
/// <summary>
/// 获取或设置用户积分。
/// </summary>
[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; }
/// <summary>
/// 获取或设置请求唯一 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("request_id")]
[System.Text.Json.Serialization.JsonPropertyName("request_id")]
public string RequestId { get; set; } = string.Empty;
/// <summary>
/// 获取或设置备注。
/// </summary>
[Newtonsoft.Json.JsonProperty("remark")]
[System.Text.Json.Serialization.JsonPropertyName("remark")]
public string? Remark { get; set; }
}
}

View File

@ -1,12 +0,0 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /channels/ec/vip/user/score/increase 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-22 下线。")]
public class ChannelsECVipUserScoreIncreaseResponse : WechatApiResponse
{
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /product/order/search 接口的响应。</para>
@ -24,6 +24,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /product/spu/get_list 接口的响应。</para>
@ -24,6 +24,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -114,7 +114,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[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()
{

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /publisher/stat?action=publisher_cps_general 接口的响应。</para>
@ -107,7 +107,7 @@
/// </summary>
[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()
{

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /publisher/stat?action=publisher_settlement 接口的响应。</para>
@ -158,7 +158,7 @@
/// </summary>
[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()
{

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /shop/spu/get_list 接口的响应。</para>
@ -24,6 +24,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /tcb/getstatistics 接口的响应。</para>
@ -62,6 +62,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -218,6 +218,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -293,6 +293,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -24,7 +24,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("totalNum")]
[System.Text.Json.Serialization.JsonPropertyName("totalNum")]
public int Total { get; set; }
public int TotalCount { get; set; }
/// <summary>
/// 获取或设置分页每页数量。

View File

@ -573,6 +573,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /union/promoter/product/select 接口的响应。</para>
@ -25,6 +25,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /union/promoter/promotion/list 接口的响应。</para>
@ -38,7 +38,7 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
/// <summary>
/// 获取或设置允许创建的推广位最大数量。

View File

@ -283,6 +283,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxa/get_store_list 接口的响应。</para>
@ -37,6 +37,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_count")]
[System.Text.Json.Serialization.JsonPropertyName("total_count")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -0,0 +1,15 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /wxaapi/comment/commentinfo/get 接口的请求。</para>
/// </summary>
public class WxaApiCommentInfoGetRequest : WechatApiRequest, IInferable<WxaApiCommentInfoGetRequest, WxaApiCommentInfoGetResponse>
{
/// <summary>
/// 获取或设置评价 ID。
/// </summary>
[Newtonsoft.Json.JsonIgnore]
[System.Text.Json.Serialization.JsonIgnore]
public string CommentId { get; set; } = string.Empty;
}
}

View File

@ -0,0 +1,126 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /wxaapi/comment/commentinfo/get 接口的响应。</para>
/// </summary>
public class WxaApiCommentInfoGetResponse : WechatApiResponse
{
public static class Types
{
public class Data
{
public static class Types
{
public class Comment : WxaApiCommentMpCommentListGetResponse.Types.Comment
{
}
}
/// <summary>
/// 获取或设置评价信息。
/// </summary>
[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
{
/// <summary>
/// 获取或设置进度类型。
/// </summary>
[Newtonsoft.Json.JsonProperty("type")]
[System.Text.Json.Serialization.JsonPropertyName("type")]
public int Type { get; set; }
/// <summary>
/// 获取或设置更新时间戳。
/// </summary>
[Newtonsoft.Json.JsonProperty("updateTime")]
[System.Text.Json.Serialization.JsonPropertyName("updateTime")]
public long? UpdateTimestamp { get; set; }
}
}
/// <summary>
/// 获取或设置评价 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("commentId")]
[System.Text.Json.Serialization.JsonPropertyName("commentId")]
public string CommentId { get; set; } = default!;
/// <summary>
/// 获取或设置进度信息列表。
/// </summary>
[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
{
}
}
/// <summary>
/// 获取或设置评价 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("commentId")]
[System.Text.Json.Serialization.JsonPropertyName("commentId")]
public string CommentId { get; set; } = default!;
/// <summary>
/// 获取或设置创建时间戳。
/// </summary>
[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; }
/// <summary>
/// 获取或设置评价分数。
/// </summary>
[Newtonsoft.Json.JsonProperty("score")]
[System.Text.Json.Serialization.JsonPropertyName("score")]
public int Score { get; set; }
/// <summary>
/// 获取或设置评价内容信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("content")]
[System.Text.Json.Serialization.JsonPropertyName("content")]
public Types.ContentInfo ContentInfo { get; set; } = default!;
}
}
/// <summary>
/// 获取或设置返回数据。
/// </summary>
[Newtonsoft.Json.JsonProperty("info")]
[System.Text.Json.Serialization.JsonPropertyName("info")]
public Types.Data Data { get; set; } = default!;
/// <summary>
/// 获取或设置处理进度信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("processInfo")]
[System.Text.Json.Serialization.JsonPropertyName("processInfo")]
public Types.Process? Process { get; set; }
/// <summary>
/// 获取或设置旧评价信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("oldComment")]
[System.Text.Json.Serialization.JsonPropertyName("oldComment")]
public Types.OldComment? OldComment { get; set; }
}
}

View File

@ -259,7 +259,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("extInfo")]
[System.Text.Json.Serialization.JsonPropertyName("extInfo")]
public Types.ExtraInfo ExtraInfo { get; set; } = default!;
public Types.ExtraInfo? ExtraInfo { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /wxaapi/broadcast/role/getrolelist 接口的响应。</para>
@ -65,6 +65,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /wxaapi/newtmpl/getpubtemplatetitles 接口的响应。</para>
@ -39,18 +39,18 @@
}
}
/// <summary>
/// 获取或设置模板标题数量。
/// </summary>
[Newtonsoft.Json.JsonProperty("count")]
[System.Text.Json.Serialization.JsonPropertyName("count")]
public int Total { get; set; }
/// <summary>
/// 获取或设置模板标题列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("data")]
[System.Text.Json.Serialization.JsonPropertyName("data")]
public Types.TemplateTitle[] TemplateTitleList { get; set; } = default!;
/// <summary>
/// 获取或设置模板标题数量。
/// </summary>
[Newtonsoft.Json.JsonProperty("count")]
[System.Text.Json.Serialization.JsonPropertyName("count")]
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /wxaapi/feedback/list 接口的响应。</para>
@ -94,6 +94,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
using System;
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
@ -161,6 +161,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("totalCount")]
[System.Text.Json.Serialization.JsonPropertyName("totalCount")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxaapi/log/jserr_list 接口的响应。</para>
@ -79,6 +79,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("totalCount")]
[System.Text.Json.Serialization.JsonPropertyName("totalCount")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /wxaapi/userlog/userlog_search 接口的响应。</para>
@ -124,7 +124,7 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxa/business/getliveinfo 接口的响应。</para>
@ -223,6 +223,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxa/business/getliveinfo?action=get_replay 接口的响应。</para>
@ -44,6 +44,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total")]
[System.Text.Json.Serialization.JsonPropertyName("total")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /wxa/getwxamplinkforshow 接口的响应。</para>
@ -44,6 +44,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int Total { get; set; }
public int TotalCount { get; set; }
}
}

View File

@ -1,11 +0,0 @@
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1408622107</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[poi_check_notify]]></Event>
<UniqId><![CDATA[123adb]]></UniqId>
<PoiId><![CDATA[123123]]></PoiId>
<Result><![CDATA[fail]]></Result>
<msg><![CDATA[xxxxxx]]></msg>
</xml>

View File

@ -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
}
}
}

View File

@ -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
}
}
}

View File

@ -1,12 +0,0 @@
{
"conf": {
"pay_amount_rule": {
"pay_value": "100",
"gain_value": "1",
"pay_amount_floor": "100"
},
"pay_time_rule": {
"gain_value": "1"
}
}
}

View File

@ -1,6 +0,0 @@
{
"grade": 1,
"name": "VIP1",
"experience_value_threshold": "100",
"experience_value_multiple": 10
}

View File

@ -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
}
}
]
}
}
}

View File

@ -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"
}
}
}

View File

@ -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"
}
}
}

View File

@ -1,4 +0,0 @@
{
"openid": "OPENID",
"need_phone_number": true
}

View File

@ -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"
}
}
}

View File

@ -1,5 +0,0 @@
{
"need_phone_number": true,
"page_num": 1,
"page_size": 1
}

View File

@ -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
}

View File

@ -1,6 +0,0 @@
{
"openid": "OPENID",
"score": "100",
"remark": "备注",
"request_id": "REQUEST_ID"
}

View File

@ -1,5 +0,0 @@
{
"openid": "OPENID",
"page_num": 1,
"page_size": 200
}

View File

@ -1,12 +0,0 @@
{
"errcode": 0,
"errmsg": "ok",
"list": [
{
"score": "100",
"source": 1,
"remark": "备注"
}
],
"total_num": 100
}

View File

@ -1,7 +0,0 @@
{
"errcode": 0,
"errmsg": "ok",
"info": {
"score": "100"
}
}

View File

@ -1,6 +0,0 @@
{
"openid": "OPENID",
"score": "100",
"remark": "备注",
"request_id": "REQUEST_ID"
}

View File

@ -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
}
}