From e3e828ae9b818257ce5ef7110d0e292e8cd6b16e Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Thu, 30 Oct 2025 19:29:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=97=AF=E5=97=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YD_AllHeartRates.Api/Controllers/DataPushController.cs | 10 +++++----- YD_AllHeartRates.Api/Services/Impl/DataPushService.cs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/YD_AllHeartRates.Api/Controllers/DataPushController.cs b/YD_AllHeartRates.Api/Controllers/DataPushController.cs index 1fb84f1..c82a58f 100644 --- a/YD_AllHeartRates.Api/Controllers/DataPushController.cs +++ b/YD_AllHeartRates.Api/Controllers/DataPushController.cs @@ -61,8 +61,8 @@ namespace YD_AllHeartRates.Api.Controllers XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20d", HDSJ = new List { - new HeartRateRecordDto { SJSJ = "2025-10-30 18:50:00", XL = 90, JXXL = 80 }, - new HeartRateRecordDto { SJSJ = "2025-10-30 18:51:00", XL = 92, JXXL = 80 } + new HeartRateRecordDto { SJSJ = "2025-10-30 14:50:00", XL = 90, JXXL = 80 }, + new HeartRateRecordDto { SJSJ = "2025-10-30 14:51:00", XL = 92, JXXL = 80 } } }, new StudentData @@ -71,7 +71,7 @@ namespace YD_AllHeartRates.Api.Controllers XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20e", HDSJ = new List { - new HeartRateRecordDto { SJSJ = "2025-10-30 18:50:00", XL = 88, JXXL = 78 } + new HeartRateRecordDto { SJSJ = "2025-10-30 14:50:00", XL = 88, JXXL = 78 } } } }; @@ -94,7 +94,7 @@ namespace YD_AllHeartRates.Api.Controllers XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20d", HDSJ = new List { - new AbnormalHeartRateRecordDto { SJSJ = "2025-10-30 18:50:00", XL = 90, JXXL = 80, YCXX="心率过高", YCYY="持续剧烈运动" } + new AbnormalHeartRateRecordDto { SJSJ = "2025-10-30 15:50:00", XL = 90, JXXL = 80, YCXX="心率过高", YCYY="持续剧烈运动" } } }, new SportsAbnormalReportDto @@ -103,7 +103,7 @@ namespace YD_AllHeartRates.Api.Controllers XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20e", HDSJ = new List { - new AbnormalHeartRateRecordDto { SJSJ = "2025-10-30 18:50:00", XL = 88, JXXL = 78, YCXX="心率过高", YCYY="持续剧烈运动" } + new AbnormalHeartRateRecordDto { SJSJ = "2025-10-30 15:50:00", XL = 88, JXXL = 78, YCXX="心率过高", YCYY="持续剧烈运动" } } } }; diff --git a/YD_AllHeartRates.Api/Services/Impl/DataPushService.cs b/YD_AllHeartRates.Api/Services/Impl/DataPushService.cs index 075651a..1f93da1 100644 --- a/YD_AllHeartRates.Api/Services/Impl/DataPushService.cs +++ b/YD_AllHeartRates.Api/Services/Impl/DataPushService.cs @@ -381,7 +381,7 @@ namespace YD_AllHeartRates.Api.Services.Impl } // 4. 构造 POST 请求 URL - string url = $"{AppSettings.DataPush.Hous}oauth2/sportsDataReplay"; + string url = $"{AppSettings.DataPush.Hous}oauth2/sportsAbnormalReport"; // 5. 发送 POST 请求 string responseText;