From 40eafbc0958b543fbb722f83bede2dbabdf50b38 Mon Sep 17 00:00:00 2001 From: xxe Date: Thu, 13 Oct 2022 17:41:03 +0800 Subject: [PATCH] 1 --- HKLib/Interfaces/HKLibHelper.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HKLib/Interfaces/HKLibHelper.cs b/HKLib/Interfaces/HKLibHelper.cs index 586c125..0a0f510 100644 --- a/HKLib/Interfaces/HKLibHelper.cs +++ b/HKLib/Interfaces/HKLibHelper.cs @@ -165,9 +165,9 @@ namespace HKLib.Interfaces { t.NodePath = Route; t.ReqType = MultiType.POST; - t.JsonParam = input.ToJson(); - }).Build().RunStringFirst().ToModel()["data"]["data"].ToJson().ToModel>(); - return data; + t.JsonParam = (new { StartTime =input.StartTime.ToShortDateString(), EndTime=input.EndTime.ToShortDateString() }).ToJson(); + }).Build().RunStringFirst(); + return data.ToModel()["data"]["data"].ToJson().ToModel>(); } } }