fix(work): 第三方应用开启付费版本时,CgibinServiceGetAuthInfoResponse 会返回当前生效版本信息,补充遗漏的版本信息属性
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeLint / Lint (push) Has been cancelled

This commit is contained in:
chrisin1991
2025-09-27 09:06:24 +00:00
committed by RHQYZ
parent a5b76a26f2
commit fb8599b8e1

View File

@@ -270,6 +270,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[System.Text.Json.Serialization.JsonPropertyName("agent")]
public Types.Agent[] AgentList { get; set; } = default!;
}
public class Edition : CgibinServiceGetPermanentCodeResponse.Types.Edition
{
}
}
/// <summary>
@@ -292,5 +297,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[Newtonsoft.Json.JsonProperty("auth_info")]
[System.Text.Json.Serialization.JsonPropertyName("auth_info")]
public Types.Authorization? Authorization { get; set; }
/// <summary>
/// 获取或设置当前版本信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("edition_info")]
[System.Text.Json.Serialization.JsonPropertyName("edition_info")]
public Types.Edition? Edition { get;set; }
}
}