This commit is contained in:
tanglong 2025-10-30 19:29:17 +08:00
parent 1d5b9367a4
commit e3e828ae9b
2 changed files with 6 additions and 6 deletions

View File

@ -61,8 +61,8 @@ namespace YD_AllHeartRates.Api.Controllers
XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20d", XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20d",
HDSJ = new List<HeartRateRecordDto> HDSJ = new List<HeartRateRecordDto>
{ {
new HeartRateRecordDto { SJSJ = "2025-10-30 18:50:00", XL = 90, JXXL = 80 }, new HeartRateRecordDto { SJSJ = "2025-10-30 14: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:51:00", XL = 92, JXXL = 80 }
} }
}, },
new StudentData new StudentData
@ -71,7 +71,7 @@ namespace YD_AllHeartRates.Api.Controllers
XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20e", XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20e",
HDSJ = new List<HeartRateRecordDto> HDSJ = new List<HeartRateRecordDto>
{ {
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", XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20d",
HDSJ = new List<AbnormalHeartRateRecordDto> HDSJ = new List<AbnormalHeartRateRecordDto>
{ {
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 new SportsAbnormalReportDto
@ -103,7 +103,7 @@ namespace YD_AllHeartRates.Api.Controllers
XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20e", XSEDUID = "d1cd4ff5-6511-58b8-809f-22d102b3c20e",
HDSJ = new List<AbnormalHeartRateRecordDto> HDSJ = new List<AbnormalHeartRateRecordDto>
{ {
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="持续剧烈运动" }
} }
} }
}; };

View File

@ -381,7 +381,7 @@ namespace YD_AllHeartRates.Api.Services.Impl
} }
// 4. 构造 POST 请求 URL // 4. 构造 POST 请求 URL
string url = $"{AppSettings.DataPush.Hous}oauth2/sportsDataReplay"; string url = $"{AppSettings.DataPush.Hous}oauth2/sportsAbnormalReport";
// 5. 发送 POST 请求 // 5. 发送 POST 请求
string responseText; string responseText;