From 5283fa35215bc599aba8d4914d4ccb868da99596 Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期五, 06 三月 2026 11:22:06 +0800
Subject: [PATCH] 1

---
 WebAPI/Web.config |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/WebAPI/Web.config b/WebAPI/Web.config
index 61b7897..f3e31e1 100644
--- a/WebAPI/Web.config
+++ b/WebAPI/Web.config
@@ -47,8 +47,10 @@
 		<add key="ClientValidationEnabled" value="true" />
 		<add key="UnobtrusiveJavaScriptEnabled" value="true" />
 
-		<add key="owin:AutomaticAppStartup" value="false" />
-		<add key="owin:appStartup" value="" />
+		<!-- 鍚敤 OWIN 鍚姩绫� -->
+		<add key="owin:AutomaticAppStartup" value="false" /> 
+		<!-- 鎸囧畾鍚姩绫伙紙濡傛灉鐗规�ф爣璁板け鏁堟椂鐢級 -->
+		<add key="owin:AppStartup" value="" />
 	</appSettings>
 	<!--
     鏈夊叧 web.config 鏇存敼鐨勮鏄庯紝璇峰弬瑙� http://go.microsoft.com/fwlink/?LinkId=235367銆�
@@ -103,6 +105,10 @@
 				<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
 				<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
 			</dependentAssembly>
+			<dependentAssembly>
+				<assemblyIdentity name="System.Web.Cors" publicKeyToken="31bf3856ad364e35" culture="neutral" />
+				<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
+			</dependentAssembly>
 		</assemblyBinding>
 	</runtime>
 	<system.webServer>

--
Gitblit v1.9.1