From 98310b0fb8b92cf40cc110a3b707c949982f4b65 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期三, 04 三月 2026 15:10:53 +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..26f0079 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="true" />
+		<!-- 鎸囧畾鍚姩绫伙紙濡傛灉鐗规�ф爣璁板け鏁堟椂鐢級 -->
+		<add key="owin:AppStartup" value="SignalR.Service.Startup" />
 	</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