Skip to content

Commit

Permalink
feat(microapp): 随官方更新登录接口模型
Browse files Browse the repository at this point in the history
  • Loading branch information
fudiwei committed Mar 5, 2024
1 parent 696ebbe commit 5d19a09
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace SKIT.FlurlHttpClient.ByteDance.MicroApp.Models
public class AppsJsCode2SessionV2Request : DouyinMicroAppRequest
{
/// <summary>
/// 获取或设置小程序的 AppId。如果不指定将使用构造 <see cref="DouyinMicroAppClient"/> 时的 <see cref="DouyinMicroAppClientOptions.AppId"/> 参数。
/// 获取或设置小程序 AppId。如果不指定将使用构造 <see cref="DouyinMicroAppClient"/> 时的 <see cref="DouyinMicroAppClientOptions.AppId"/> 参数。
/// </summary>
[Newtonsoft.Json.JsonProperty("appid")]
[System.Text.Json.Serialization.JsonPropertyName("appid")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,6 @@ public class Data
}
}

/// <inheritdoc/>
[Newtonsoft.Json.JsonProperty("err_no")]
[System.Text.Json.Serialization.JsonPropertyName("err_no")]
public override long ErrorCode { get; set; }

/// <inheritdoc/>
[Newtonsoft.Json.JsonProperty("err_tips")]
[System.Text.Json.Serialization.JsonPropertyName("err_tips")]
public override string? ErrorMessage { get; set; }

/// <summary>
/// 获取或设置返回数据。
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public class AppsTokenV2Request : DouyinMicroAppRequest
{
/// <summary>
/// 获取或设置小程序的 AppId。如果不指定将使用构造 <see cref="DouyinMicroAppClient"/> 时的 <see cref="DouyinMicroAppClientOptions.AppId"/> 参数。
/// 获取或设置小程序 AppId。如果不指定将使用构造 <see cref="DouyinMicroAppClient"/> 时的 <see cref="DouyinMicroAppClientOptions.AppId"/> 参数。
/// </summary>
[Newtonsoft.Json.JsonProperty("appid")]
[System.Text.Json.Serialization.JsonPropertyName("appid")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ public class Data
}
}

/// <inheritdoc/>
[Newtonsoft.Json.JsonProperty("err_no")]
[System.Text.Json.Serialization.JsonPropertyName("err_no")]
public override long ErrorCode { get; set; }

/// <inheritdoc/>
[Newtonsoft.Json.JsonProperty("err_tips")]
[System.Text.Json.Serialization.JsonPropertyName("err_tips")]
public override string? ErrorMessage { get; set; }

/// <summary>
/// 获取或设置返回数据。
/// </summary>
Expand Down

0 comments on commit 5d19a09

Please sign in to comment.