From 14ae0e21c8660dbb3ac20a5b0d9db9b6dde3cfb9 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期三, 25 三月 2026 17:07:00 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
---
WebAPI/Global.asax.cs | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/WebAPI/Global.asax.cs b/WebAPI/Global.asax.cs
index 54ba068..912ff30 100644
--- a/WebAPI/Global.asax.cs
+++ b/WebAPI/Global.asax.cs
@@ -11,15 +11,8 @@
{
protected void Application_Start()
{
- // webSocket 鏈嶅姟
- WebSocketServer.Start();
- GlobalConfiguration.Configure(WebApiConfig.Register);
- }
- // 搴旂敤鍏抽棴鏃讹紝鍋滄鏈嶅姟锛岄槻姝㈡硠闇�
- protected void Application_End()
- {
- WebSocketServer.Stop();
+ GlobalConfiguration.Configure(WebApiConfig.Register);
}
}
}
--
Gitblit v1.9.1