From a0247dce6c114705cecebcc61d7c1cb1f20ef28f Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期五, 23 一月 2026 16:47:52 +0800
Subject: [PATCH] 添加成本分配类型基础资料
---
WebAPI/Global.asax.cs | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/WebAPI/Global.asax.cs b/WebAPI/Global.asax.cs
index 3e4bc83..63026da 100644
--- a/WebAPI/Global.asax.cs
+++ b/WebAPI/Global.asax.cs
@@ -4,14 +4,22 @@
using System.Web;
using System.Web.Http;
using System.Web.Routing;
-
+using WebApiWithFleck;
namespace WebAPI
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
+ // webSocket 鏈嶅姟
+ // WebSocketServer.Start();
GlobalConfiguration.Configure(WebApiConfig.Register);
}
+
+ // 搴旂敤鍏抽棴鏃讹紝鍋滄鏈嶅姟锛岄槻姝㈡硠闇�
+ protected void Application_End()
+ {
+ // WebSocketServer.Stop();
+ }
}
}
--
Gitblit v1.9.1