From 1c90213ebd42e2d00324a71a67a60d07e4c8a7da Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期二, 28 四月 2026 09:08:39 +0800
Subject: [PATCH] 修复接口签名,新增抽样方案

---
 WebAPI/Global.asax.cs |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/WebAPI/Global.asax.cs b/WebAPI/Global.asax.cs
index 54ba068..65391dd 100644
--- a/WebAPI/Global.asax.cs
+++ b/WebAPI/Global.asax.cs
@@ -3,6 +3,7 @@
 using System.Linq;
 using System.Web;
 using System.Web.Http;
+using System.Web.Mvc;
 using System.Web.Routing;
 using WebApiWithFleck;
 namespace WebAPI
@@ -11,15 +12,9 @@
     {
         protected void Application_Start()
         {
-            // webSocket 鏈嶅姟
-            WebSocketServer.Start();
-            GlobalConfiguration.Configure(WebApiConfig.Register);
-        }
 
-        // 搴旂敤鍏抽棴鏃讹紝鍋滄鏈嶅姟锛岄槻姝㈡硠闇�
-        protected void Application_End()
-        {
-            WebSocketServer.Stop();
+            GlobalConfiguration.Configure(WebApiConfig.Register);
+           // FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
         }
     }
 }

--
Gitblit v1.9.1