From 6d2b95b5b18121764523bc4f4891e8412556ec72 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期一, 26 八月 2024 09:11:23 +0800
Subject: [PATCH] 1

---
 WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs b/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs
index 2b90606..2217039 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs
@@ -63,14 +63,13 @@
 
 builder.Services.AddHttpContextSetup();
 
-builder.Services.AddHostedService<QuartzJobHostedService>();
+//builder.Services.AddHostedService<QuartzJobHostedService>();
 
 //todo
 builder.Services.AddMvc(options =>
 {
     options.Filters.Add(typeof(ApiAuthorizeFilter));
     //options.Filters.Add(typeof(ActionExecuteFilter));
-    //  options.SuppressAsyncSuffixInActionNames = false;
 });
 
 builder.Services.AddAuthorizationSetup();
@@ -138,11 +137,8 @@
 
 app.UseRouting();
 
-
 app.UseAuthentication();
 app.UseAuthorization();
-
-
 
 app.MapControllers();
 

--
Gitblit v1.9.3