mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-24 21:13:47 +08:00
feat(wxapi): 新增快速获取学生身份接口
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /intp/quickcheckstudentidentity 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class IntpQuickCheckStudentIdentityRequest : WechatApiRequest, IInferable<IntpQuickCheckStudentIdentityRequest, IntpQuickCheckStudentIdentityResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置用户唯一标识。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("openid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("openid")]
|
||||
public string OpenId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置用户授权查询 Code。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("wx_studentcheck_code")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("wx_studentcheck_code")]
|
||||
public string CheckCode { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -0,0 +1,22 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /intp/quickcheckstudentidentity 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class IntpQuickCheckStudentIdentityResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置绑定状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("bind_status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("bind_status")]
|
||||
public int BindStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否是学生。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("is_student")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_student")]
|
||||
public bool IsStudent { get; set; }
|
||||
}
|
||||
}
|
@@ -1,9 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /intp/realname/checkrealnameinfo 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class IntpRealNameCheckRealNameInfoResponse : IntpMarketCodeActiveCodeQueryResponse
|
||||
public class IntpRealNameCheckRealNameInfoResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置 OpenId 验证结果,使用分号分隔。
|
||||
|
@@ -1,9 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /intp/realname/getauthurl 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class IntpRealNameGetAuthUrlResponse : IntpMarketCodeActiveCodeQueryResponse
|
||||
public class IntpRealNameGetAuthUrlResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置授权链接。
|
||||
|
Reference in New Issue
Block a user