mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-24 13:03:43 +08:00
feat(wxapi): 随官方更新第三方平台授权账号管理、代商家注册小程序等相关接口模型
This commit is contained in:
@@ -1,31 +1,10 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/component/api_get_authorizer_option 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class CgibinComponentApiGetAuthorizerOptionRequest : WechatApiRequest, IInferable<CgibinComponentApiGetAuthorizerOptionRequest, CgibinComponentApiGetAuthorizerOptionResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置第三方平台 AccessToken。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public string ComponentAccessToken { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置第三方平台 AppId。如果不指定将使用构造 <see cref="WechatApiClient"/> 时的 <see cref="WechatApiClientOptions.AppId"/> 参数。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("component_appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("component_appid")]
|
||||
public string? ComponentAppId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置授权方 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("authorizer_appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("authorizer_appid")]
|
||||
public string AuthorizerAppId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置选项名称。
|
||||
/// </summary>
|
||||
|
@@ -1,31 +1,10 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/component/api_set_authorizer_option 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class CgibinComponentApiSetAuthorizerOptionRequest : WechatApiRequest, IInferable<CgibinComponentApiSetAuthorizerOptionRequest, CgibinComponentApiSetAuthorizerOptionResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置第三方平台 AccessToken。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public string ComponentAccessToken { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置第三方平台 AppId。如果不指定将使用构造 <see cref="WechatApiClient"/> 时的 <see cref="WechatApiClientOptions.AppId"/> 参数。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("component_appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("component_appid")]
|
||||
public string? ComponentAppId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置授权方 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("authorizer_appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("authorizer_appid")]
|
||||
public string AuthorizerAppId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置选项名称。
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user