mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-24 13:03:43 +08:00
fix(wxapi): 修复发布能力相关接口模型字段类型定义错误
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/freepublish/batchget 接口的响应。</para>
|
||||
@@ -34,6 +34,7 @@
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("article_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("article_id")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalStringReadOnlyConverter))]
|
||||
public string ArticleId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/freepublish/delete 接口的请求。</para>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/freepublish/getarticle 接口的请求。</para>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/freepublish/get 接口的请求。</para>
|
||||
@@ -10,6 +10,7 @@
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("publish_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("publish_id")]
|
||||
public string PublishId { get; set; } = string.Empty;
|
||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||
public long PublishId { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/freepublish/get 接口的响应。</para>
|
||||
@@ -50,7 +50,8 @@
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("publish_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("publish_id")]
|
||||
public string PublishId { get; set; } = default!;
|
||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||
public long PublishId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置发布状态。
|
||||
@@ -64,6 +65,7 @@
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("article_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("article_id")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalStringReadOnlyConverter))]
|
||||
public string? ArticleId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
@@ -10,7 +10,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("publish_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("publish_id")]
|
||||
public string PublishId { get; set; } = default!;
|
||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||
public long PublishId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置消息数据 ID。
|
||||
|
Reference in New Issue
Block a user