mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-18 09:44:43 +08:00
feat(work): 随官方更新打卡相关接口模型
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"datas": [
|
||||
@@ -86,7 +86,13 @@
|
||||
"ot_info": {
|
||||
"ot_status": 1,
|
||||
"ot_duration": 3600,
|
||||
"exception_duration": []
|
||||
"exception_duration": [],
|
||||
"workday_over_as_vacation": 0,
|
||||
"workday_over_as_money": 54000,
|
||||
"restday_over_as_vacation": 0,
|
||||
"restday_over_as_money": 172800,
|
||||
"holiday_over_as_vacation": 0,
|
||||
"holiday_over_as_money": 0
|
||||
},
|
||||
"sp_items": [
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"datas": [
|
||||
@@ -56,7 +56,14 @@
|
||||
}
|
||||
],
|
||||
"overwork_info": {
|
||||
"workday_over_sec": 10800
|
||||
"workday_over_sec": 54000,
|
||||
"restdays_over_sec": 205560,
|
||||
"workdays_over_as_vacation": 0,
|
||||
"workdays_over_as_money": 54000,
|
||||
"restdays_over_as_vacation": 0,
|
||||
"restdays_over_as_money": 172800,
|
||||
"holidays_over_as_vacation": 0,
|
||||
"holidays_over_as_money": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@@ -838,7 +838,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
||||
|
||||
var model = serializer.Deserialize<DecryptChatRecordResponse>(json);
|
||||
Assert.Equal("markdown", model.MessageType);
|
||||
Assert.Equal("请前往系统查看,谢谢。", model.MessageContentAsInfo!.MarkdownContent);
|
||||
Assert.Equal("请前往系统查看,谢谢。", model.MessageContentAsInfo!.Content);
|
||||
}
|
||||
|
||||
AssertModelWithJsonSerializer(newtonsoftJsonSerializer);
|
||||
|
Reference in New Issue
Block a user