diff --git a/ZR.Admin.WebApi/Program.cs b/ZR.Admin.WebApi/Program.cs index e5ee5376..668d5a83 100644 --- a/ZR.Admin.WebApi/Program.cs +++ b/ZR.Admin.WebApi/Program.cs @@ -19,8 +19,8 @@ using ZR.Service.mqtt; var builder = WebApplication.CreateBuilder(args); //后台定时任务 -builder.Services.AddHostedService(); -builder.Services.AddHostedService(); +//builder.Services.AddHostedService(); +//builder.Services.AddHostedService(); // Add services to the container.