From fae58e2951ccf415ad8e8098ca49f5611e410dd3 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期五, 10 四月 2026 09:35:50 +0800
Subject: [PATCH] 1
---
WebAPI/App_Start/WebApiConfig.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/WebAPI/App_Start/WebApiConfig.cs b/WebAPI/App_Start/WebApiConfig.cs
index 59db8ef..3a8aba1 100644
--- a/WebAPI/App_Start/WebApiConfig.cs
+++ b/WebAPI/App_Start/WebApiConfig.cs
@@ -30,11 +30,11 @@
defaults: new { id = RouteParameter.Optional }
);
- // 鍏ㄥ眬鍚敤 JWT 璁よ瘉
- config.Filters.Add(new JwtAuthorizeAttribute());
+ //// 鍏ㄥ眬鍚敤 JWT 璁よ瘉
+ //config.Filters.Add(new JwtAuthorizeAttribute());
- // 鍚敤JWT鍝嶅簲鎷︽埅鍣紝鑷姩鍒锋柊JWT
- config.MessageHandlers.Add(new TokenAppendHandler());
+ //// 鍚敤JWT鍝嶅簲鎷︽埅鍣紝鑷姩鍒锋柊JWT
+ //config.MessageHandlers.Add(new TokenAppendHandler());
}
}
}
--
Gitblit v1.9.1