From 9195a15063abd93be101dd7aa1bb48ed624e4a15 Mon Sep 17 00:00:00 2001 From: H Vs Date: Tue, 6 Aug 2024 10:40:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4key=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HealthMonitor.Service/Cache/DeviceCacheManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HealthMonitor.Service/Cache/DeviceCacheManager.cs b/HealthMonitor.Service/Cache/DeviceCacheManager.cs index bdee39b..623d6b0 100644 --- a/HealthMonitor.Service/Cache/DeviceCacheManager.cs +++ b/HealthMonitor.Service/Cache/DeviceCacheManager.cs @@ -86,7 +86,7 @@ namespace HealthMonitor.Service.Cache { try { - var key = $"PregnancyHeartRateFreqStatus_{sn}"; + var key = $"PhrFreqStatus_{sn}"; var status = await RedisHelper.GetAsync(key).ConfigureAwait(false); if (string.IsNullOrEmpty(status)) return null; return JsonConvert.DeserializeObject(status); @@ -102,7 +102,7 @@ namespace HealthMonitor.Service.Cache { try { - var key = $"PregnancyHeartRateFreqStatus_{sn}"; + var key = $"PhrFreqStatus_{sn}"; var data=JsonConvert.SerializeObject(status); await RedisHelper.SetAsync(key, data, expire).ConfigureAwait(false); }