mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-02-17 21:56:26 +08:00
feat(work): 新增获取家校访问用户身份接口
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /cgi-bin/school/getuserinfo 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class CgibinSchoolGetUserInfoRequest : WechatWorkRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置成员授权码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public string Code { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /cgi-bin/school/getuserinfo 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class CgibinSchoolGetUserInfoResponse : WechatWorkResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置手机设备号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("DeviceId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("DeviceId")]
|
||||
public string? DeviceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置家长账号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("parent_userid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("parent_userid")]
|
||||
public string? ParentUserId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置学生账号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("student_userid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("student_userid")]
|
||||
public string? StudentUserId{ get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user