From 1534d155266368be7c6eab5fada4f64c17e3dcb5 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Thu, 5 Dec 2024 13:44:29 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=98=A0=E5=B0=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Requests/SyncMealSupplementRecordRequest.cs | 9 +++++++-- .../TaskAssignment/Controllers/HangfireController.cs | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) 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;