From 6cec58d33fad12e55cbe7d6e68cd041ccf80b828 Mon Sep 17 00:00:00 2001 From: Qin Yikai Date: Thu, 1 Dec 2022 20:03:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(wxapi):=20=E4=BF=AE=E5=A4=8D=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=8E=86=E5=8F=B2=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=8E=A5=E5=8F=A3=E6=A8=A1=E5=9E=8B=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WxaComponent/Code/WxaRevertCodeReleaseResponse.cs | 6 +++--- .../WxaComponent/Code/WxaRevertCodeReleaseResponse.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Code/WxaRevertCodeReleaseResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Code/WxaRevertCodeReleaseResponse.cs index c512f95f..d1082ddb 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Code/WxaRevertCodeReleaseResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Code/WxaRevertCodeReleaseResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [GET] /wxa/revertcoderelease 接口的响应。 @@ -42,8 +42,8 @@ /// /// 获取或设置发布版本列表。 /// - [Newtonsoft.Json.JsonProperty("template_list")] - [System.Text.Json.Serialization.JsonPropertyName("template_list")] + [Newtonsoft.Json.JsonProperty("version_list")] + [System.Text.Json.Serialization.JsonPropertyName("version_list")] public Types.Release[]? ReleaseList { get; set; } } } diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Code/WxaRevertCodeReleaseResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Code/WxaRevertCodeReleaseResponse.json index 6a31e10b..27dacd69 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Code/WxaRevertCodeReleaseResponse.json +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Code/WxaRevertCodeReleaseResponse.json @@ -1,7 +1,7 @@ -{ +{ "errcode": 0, "errmsg": "ok", - "template_list": [ + "version_list": [ { "commit_time": 1488965944, "user_version": "VVV",