diff --git a/HealthMonitor.Service/Resolver/BloodpressResolver.cs b/HealthMonitor.Service/Resolver/BloodpressResolver.cs index 0720e16..81325f3 100644 --- a/HealthMonitor.Service/Resolver/BloodpressResolver.cs +++ b/HealthMonitor.Service/Resolver/BloodpressResolver.cs @@ -445,7 +445,7 @@ namespace HealthMonitor.Service.Resolver #endregion #region 定时下发触发器 - var key = $"health_moniter/schedule_push/imei/{bp.Serialno}"; + var key = $"health_monitor/schedule_push/imei/{bp.Serialno}"; var schedule_push = await _serviceEtcd.GetValAsync(key).ConfigureAwait(false); if (string.IsNullOrWhiteSpace(schedule_push)) { diff --git a/HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs b/HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs index 183e5b0..2dbdf75 100644 --- a/HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs +++ b/HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs @@ -58,7 +58,7 @@ namespace HealthMonitor.Service.Resolver var messageId = _messageId.Value; var phr = _msgData.Value!; #region 定时下发触发器 - var key = $"health_moniter/schedule_push/pregnancy_heart_rate/imei/{phr.Serialno}"; + var key = $"health_monitor/schedule_push/pregnancy_heart_rate/imei/{phr.Serialno}"; var schedule_push = await _serviceEtcd.GetValAsync(key).ConfigureAwait(false); if (string.IsNullOrWhiteSpace(schedule_push)) diff --git a/HealthMonitor.WebApi/Worker.cs b/HealthMonitor.WebApi/Worker.cs index 5f58ada..5bd8680 100644 --- a/HealthMonitor.WebApi/Worker.cs +++ b/HealthMonitor.WebApi/Worker.cs @@ -91,7 +91,7 @@ namespace HealthMonitor.WebApi }, stoppingToken), Task.Run(() => - _serviceEtcd.WacthKeysWithPrefixResponseAsync("health_moniter/schedule_push", WatchEvents), + _serviceEtcd.WacthKeysWithPrefixResponseAsync("health_monitor/schedule_push", WatchEvents), stoppingToken) }; @@ -119,7 +119,7 @@ namespace HealthMonitor.WebApi //Console.BackgroundColor = ConsoleColor.Green; //Console.WriteLine($"--- {e.Type}--{e.Kv.Key.ToStringUtf8()}--{e.Kv.Value.ToStringUtf8()}---{DateTime.Now}"); - // var key = $"health_moniter/schedule_push/imei/{bp.Serialno}"; + // var key = $"health_monitor/schedule_push/imei/{bp.Serialno}"; var key = e.Kv.Key.ToStringUtf8(); var imeiDel = key.Split('/')[^1]; var schedule_push = await _serviceEtcd.GetValAsync(key).ConfigureAwait(false);