feat(work): 随官方更新健康上报相关接口模型

This commit is contained in:
Fu Diwei 2022-03-14 14:01:52 +08:00
parent 6ef991898d
commit 9be6a1943f
4 changed files with 29 additions and 17 deletions

View File

@ -47,6 +47,20 @@
[Newtonsoft.Json.JsonProperty("fileid")]
[System.Text.Json.Serialization.JsonPropertyName("fileid")]
public string[]? FileIdList { get; set; }
/// <summary>
/// 获取或设置行程卡类型。
/// </summary>
[Newtonsoft.Json.JsonProperty("itinerary_card_type")]
[System.Text.Json.Serialization.JsonPropertyName("itinerary_card_type")]
public int? ItineraryCardType { get; set; }
/// <summary>
/// 获取或设置高风险行程信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("high_risk_area")]
[System.Text.Json.Serialization.JsonPropertyName("high_risk_area")]
public string? HighRiskArea { get; set; }
}
}
@ -84,6 +98,13 @@
[Newtonsoft.Json.JsonProperty("report_values")]
[System.Text.Json.Serialization.JsonPropertyName("report_values")]
public Types.ReportValue[] ReportValueList { get; set; } = default!;
/// <summary>
/// 获取或设置报告时间戳。
/// </summary>
[Newtonsoft.Json.JsonProperty("report_time")]
[System.Text.Json.Serialization.JsonPropertyName("report_time")]
public long ReportTimestamp { get; set; }
}
}

View File

@ -157,7 +157,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
public class WechatChannels
{
/// <summary>
/// 获取或设置视频号称。
/// 获取或设置视频号称。
/// </summary>
[Newtonsoft.Json.JsonProperty("nickname")]
[System.Text.Json.Serialization.JsonPropertyName("nickname")]

View File

@ -155,7 +155,7 @@
public class WechatChannels
{
/// <summary>
/// 获取或设置对外展示视频号状态
/// 获取或设置对外展示视频号昵称
/// </summary>
[Newtonsoft.Json.JsonProperty("nickname")]
[System.Text.Json.Serialization.JsonPropertyName("nickname")]

View File

@ -5,6 +5,7 @@
{
"id_type": 1,
"userid": "userid2",
"report_time": 123456789,
"report_values": [
{
"question_id": 1,
@ -16,16 +17,11 @@
},
{
"question_id": 3,
"multi_choice": [
1,
3
]
"multi_choice": [1, 3]
},
{
"question_id": 4,
"fileid": [
"XXXXXXX"
]
"fileid": ["XXXXXXX"]
}
]
},
@ -33,6 +29,7 @@
"id_type": 2,
"student_userid": "student_userid1",
"parent_userid": "parent_userid1",
"report_time": 123456789,
"report_values": [
{
"question_id": 1,
@ -44,17 +41,11 @@
},
{
"question_id": 3,
"multi_choice": [
1,
2,
3
]
"multi_choice": [1, 2, 3]
},
{
"question_id": 4,
"fileid": [
"XXXXXXX"
]
"fileid": ["XXXXXXX"]
}
]
}