From 77e34c929ccd44767c31b98c4bf4ce84319e2eb3 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期三, 25 三月 2026 17:04:47 +0800
Subject: [PATCH] 新增Token 生成,校验,刷新功能 (暂时禁用Token功能 如果想要启用,在WebApiConfig.cs文件中解除注释)

---
 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