feat(wxapi): 随官方更新第三方平台小程序分阶段发布接口模型

This commit is contained in:
Qin Yikai 2022-12-05 21:00:02 +08:00 committed by GitHub
parent 7853dbc010
commit cd755dec55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 6 deletions

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /wxa/getgrayreleaseplan 接口的响应。</para>
@ -29,6 +29,20 @@
[Newtonsoft.Json.JsonProperty("create_timestamp")]
[System.Text.Json.Serialization.JsonPropertyName("create_timestamp")]
public long CreateTimestamp { get; set; }
/// <summary>
/// 获取或设置是否支持按项目成员灰度。
/// </summary>
[Newtonsoft.Json.JsonProperty("support_debuger_first")]
[System.Text.Json.Serialization.JsonPropertyName("support_debuger_first")]
public bool? IsSupportDebuggerFirst { get; set; }
/// <summary>
/// 获取或设置是否支持按体验成员灰度。
/// </summary>
[Newtonsoft.Json.JsonProperty("support_experiencer_first")]
[System.Text.Json.Serialization.JsonPropertyName("support_experiencer_first")]
public bool? IsSupportExperiencerFirst { get; set; }
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxa/grayrelease 接口的请求。</para>
@ -11,5 +11,19 @@
[Newtonsoft.Json.JsonProperty("gray_percentage")]
[System.Text.Json.Serialization.JsonPropertyName("gray_percentage")]
public int GrayPercentage { get; set; }
/// <summary>
/// 获取或设置是否支持按项目成员灰度。
/// </summary>
[Newtonsoft.Json.JsonProperty("support_debuger_first")]
[System.Text.Json.Serialization.JsonPropertyName("support_debuger_first")]
public bool? IsSupportDebuggerFirst { get; set; }
/// <summary>
/// 获取或设置是否支持按体验成员灰度。
/// </summary>
[Newtonsoft.Json.JsonProperty("support_experiencer_first")]
[System.Text.Json.Serialization.JsonPropertyName("support_experiencer_first")]
public bool? IsSupportExperiencerFirst { get; set; }
}
}

View File

@ -1,9 +1,11 @@
{
{
"errcode": 0,
"errmsg": "ok",
"gray_release_plan": {
"status": 1,
"create_timestamp": 1517553721,
"gray_percentage": 8
"gray_percentage": 8,
"support_debuger_first": true,
"support_experiencer_first": true
}
}

View File

@ -1,3 +1,5 @@
{
"gray_percentage": 1
{
"gray_percentage": 1,
"support_debuger_first": true,
"support_experiencer_first": true
}