From 08d1e24b079cdcd27cb4e082843df026d6ffc68d Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期三, 04 二月 2026 09:29:22 +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