mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-23 04:23:47 +08:00
feat(work): 随官方更新获取审批申请详情接口模型
This commit is contained in:
@@ -247,6 +247,27 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
|
||||
public class DateControlValue
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Timezone
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置时区偏移量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("zone_offset")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("zone_offset")]
|
||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||
public int Offset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置时区描述。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("zone_desc")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("zone_desc")]
|
||||
public string Description { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置时间展示类型。
|
||||
/// </summary>
|
||||
@@ -261,6 +282,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("s_timestamp")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.TextualNumberConverter))]
|
||||
public long? Timestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置时区信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("timezone_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("timezone_info")]
|
||||
public Types.Timezone? Timezone { get; set; }
|
||||
}
|
||||
|
||||
public class SelectorControlValue
|
||||
@@ -553,6 +581,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
|
||||
public class DateRangeControlValue
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Timezone : DateControlValue.Types.Timezone
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置时间展示类型。
|
||||
/// </summary>
|
||||
@@ -580,6 +615,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[Newtonsoft.Json.JsonProperty("new_duration")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("new_duration")]
|
||||
public int Duration { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置时区信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("timezone_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("timezone_info")]
|
||||
public Types.Timezone? Timezone { get; set; }
|
||||
}
|
||||
|
||||
public class CheckinControlValue
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"info": {
|
||||
@@ -59,7 +59,11 @@
|
||||
"new_money": "700",
|
||||
"date": {
|
||||
"type": "day",
|
||||
"s_timestamp": "1569859200"
|
||||
"s_timestamp": "1569859200",
|
||||
"timezone_info": {
|
||||
"zone_offset": "-9",
|
||||
"zone_desc": "UTC+9"
|
||||
}
|
||||
},
|
||||
"selector": {
|
||||
"type": "multi",
|
||||
@@ -187,7 +191,11 @@
|
||||
"type": "halfday",
|
||||
"new_begin": 1570550400,
|
||||
"new_end": 1570593600,
|
||||
"new_duration": 86400
|
||||
"new_duration": 86400,
|
||||
"timezone_info": {
|
||||
"zone_offset": "-9",
|
||||
"zone_desc": "UTC+9"
|
||||
}
|
||||
},
|
||||
"location": {
|
||||
"latitude": "30.547239",
|
||||
|
Reference in New Issue
Block a user