diff --git a/Src/Dlhis.Jip.Api/Requests/SyncMealSupplementRecordRequest.cs b/Src/Dlhis.Jip.Api/Requests/SyncMealSupplementRecordRequest.cs index f973a71b..d2e23bdd 100644 --- a/Src/Dlhis.Jip.Api/Requests/SyncMealSupplementRecordRequest.cs +++ b/Src/Dlhis.Jip.Api/Requests/SyncMealSupplementRecordRequest.cs @@ -1,17 +1,22 @@ -namespace Dlhis.Jip.Api.Request; +using Newtonsoft.Json; + +namespace Dlhis.Jip.Api.Requests; public class SyncMealSupplementRecordRequest { /// /// 唯一id /// + [JsonProperty("uniqueId")] public string UniqueId { get; set; } /// /// FAIL SUCCESS /// + [JsonProperty("status")] public string Status { get; set; } + [JsonProperty("msg")] public string Msg { get; set; } -} +} \ No newline at end of file diff --git a/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/HangfireController.cs b/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/HangfireController.cs index b9b03f45..9999cfff 100644 --- a/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/HangfireController.cs +++ b/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/HangfireController.cs @@ -1,6 +1,7 @@ using Dlhis.Basic.Api; using Dlhis.Jip.Api; using Dlhis.Jip.Api.Request; +using Dlhis.Jip.Api.Requests; using Hangfire; using Kurisu.AspNetCore.Utils; using Microsoft.AspNetCore.Authorization;