From f2b71fe1d3c2b7651d525a5b5bbe66fad602ea06 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期二, 09 九月 2025 18:46:28 +0800
Subject: [PATCH] 代码清理

---
 WebApi/Gs.HostIIS/Program.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/WebApi/Gs.HostIIS/Program.cs b/WebApi/Gs.HostIIS/Program.cs
index f1938f3..931b65e 100644
--- a/WebApi/Gs.HostIIS/Program.cs
+++ b/WebApi/Gs.HostIIS/Program.cs
@@ -28,8 +28,8 @@
     options.AddPolicy("AllowAll", builder =>
     {
         builder.AllowAnyOrigin()
-               .AllowAnyMethod()
-               .AllowAnyHeader();
+            .AllowAnyMethod()
+            .AllowAnyHeader();
     });
 });
 builder.Services.AddCustomConvention();
@@ -73,7 +73,8 @@
     //娣诲姞瀹夊叏瀹氫箟
     c.AddSecurityDefinition("Token", new OpenApiSecurityScheme
     {
-        Description ="璇疯緭鍏oken,鏍煎紡涓猴細token 3fa85f64-5717-4562-b3fc-2c963f66afa6锛堟敞鎰忎腑闂村繀椤绘湁绌烘牸锛�",
+        Description =
+            "璇疯緭鍏oken,鏍煎紡涓猴細token 3fa85f64-5717-4562-b3fc-2c963f66afa6锛堟敞鎰忎腑闂村繀椤绘湁绌烘牸锛�",
         Name = "token",
         In = ParameterLocation.Header,
         Type = SecuritySchemeType.ApiKey,
@@ -110,7 +111,7 @@
 });
 //娣诲姞涓婁紶璺緞
 var _upPath = AppContext.BaseDirectory +
-                AppSettingsHelper.getValueByKey("UploadPath");
+              AppSettingsHelper.getValueByKey("UploadPath");
 app.UseStaticFiles(new StaticFileOptions
 {
     FileProvider = new PhysicalFileProvider(_upPath),

--
Gitblit v1.9.3