From 5a9d51aa1202f4e52173245d3069e6bd1949d51b Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期一, 27 四月 2026 09:53:21 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
---
WebAPI/Global.asax.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/WebAPI/Global.asax.cs b/WebAPI/Global.asax.cs
index 3e4bc83..65391dd 100644
--- a/WebAPI/Global.asax.cs
+++ b/WebAPI/Global.asax.cs
@@ -3,15 +3,18 @@
using System.Linq;
using System.Web;
using System.Web.Http;
+using System.Web.Mvc;
using System.Web.Routing;
-
+using WebApiWithFleck;
namespace WebAPI
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
+
GlobalConfiguration.Configure(WebApiConfig.Register);
+ // FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
}
}
}
--
Gitblit v1.9.1