浏览代码

Merge branch 'feature_DepartmentalProcessing' of Fengwo/hotline into master

tangjiang 11 月之前
父节点
当前提交
4c5deafb17
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Hotline.Application/Bigscreen/SeatStateDataRefreshService.cs

+ 1 - 1
src/Hotline.Application/Bigscreen/SeatStateDataRefreshService.cs

@@ -40,7 +40,7 @@ namespace Hotline.Application.Bigscreen
 
 		protected override async Task ExecuteAsync(CancellationToken stoppingToken)
 		{
-			using var scope = _serviceScopeFactory.CreateScope();
+			using var scope = _serviceScopeFactory.CreateScope(); 
 			var realtimeService = scope.ServiceProvider.GetRequiredService<IRealtimeService>();
 			var logger = scope.ServiceProvider.GetRequiredService<ILogger<SeatStateDataRefreshService>>();
 			var systemSettingCacheManager = scope.ServiceProvider.GetRequiredService<ISystemSettingCacheManager>();