mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-04-05 17:37:54 +08:00
feat(work): 随官方更新获取企业授权信息接口模型
This commit is contained in:
parent
5724d826dc
commit
5ef5fad1a2
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
@ -28,6 +28,19 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
|
||||
public class AuthorizerCorp : DealerCorp
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class CorpExtraName
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置企业简称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name_list")]
|
||||
public string Names { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置企业类型。
|
||||
/// </summary>
|
||||
@ -111,6 +124,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[Newtonsoft.Json.JsonProperty("location")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("location")]
|
||||
public string? Location { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置企业其他简称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("corp_ex_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("corp_ex_name")]
|
||||
public Types.CorpExtraName? CorpExtraName { get; set; } = default!;
|
||||
}
|
||||
|
||||
public class Authorization
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"dealer_corp_info": {
|
||||
@ -19,7 +19,10 @@
|
||||
"corp_scale": "1-50人",
|
||||
"corp_industry": "IT服务",
|
||||
"corp_sub_industry": "计算机软件/硬件/信息服务",
|
||||
"location": "广东省广州市"
|
||||
"location": "广东省广州市",
|
||||
"corp_ex_name": {
|
||||
"name_list": "xx"
|
||||
}
|
||||
},
|
||||
"auth_info": {
|
||||
"agent": [
|
||||
|
Loading…
Reference in New Issue
Block a user