From 9e95d3b74483285b690b43184be80ae530f726af Mon Sep 17 00:00:00 2001 From: H Vs Date: Sat, 18 Nov 2023 18:33:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HmBloodPressConfigManualCalibrationController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HealthMonitor.WebApi/Controllers/HealthMonitor/HmBloodPressConfigManualCalibrationController.cs b/HealthMonitor.WebApi/Controllers/HealthMonitor/HmBloodPressConfigManualCalibrationController.cs index 6ace4ef..d7bc380 100644 --- a/HealthMonitor.WebApi/Controllers/HealthMonitor/HmBloodPressConfigManualCalibrationController.cs +++ b/HealthMonitor.WebApi/Controllers/HealthMonitor/HmBloodPressConfigManualCalibrationController.cs @@ -104,8 +104,8 @@ namespace HealthMonitor.WebApi.Controllers.HealthMonitor filters = new List() { new { key = "serialno", value = $"{imei}", valueType = "string", @operator = "Equal" } }, orderBys = new List() { new { key = "serialno", isDesc = true } } }; - var res = await _httpHelper.HttpToPostAsync(DataServicePersionGet, dataPersion, Dataheaders).ConfigureAwait(false); - var resObj = JsonConvert.DeserializeObject(res!) as JToken; + var resPersion = await _httpHelper.HttpToPostAsync(DataServicePersionGet, dataPersion, Dataheaders).ConfigureAwait(false); + var resObj = JsonConvert.DeserializeObject(resPersion!) as JToken; var remark = resObj?["remarks"]?.ToString(); // 修改数据库