From 23667888c9607fe87d1e05230cd8dbc04161ebb3 Mon Sep 17 00:00:00 2001 From: panhf <754998852@qq.com> Date: Mon, 8 Apr 2024 12:00:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=80=83=E8=AF=95api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/WebAPI/Global.asax.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SGGL/WebAPI/Global.asax.cs b/SGGL/WebAPI/Global.asax.cs index e284f7d9..b4a81e84 100644 --- a/SGGL/WebAPI/Global.asax.cs +++ b/SGGL/WebAPI/Global.asax.cs @@ -30,7 +30,7 @@ namespace WebAPI BLL.Funs.ConnString = ConfigurationManager.AppSettings["ConnectionString"]; BLL.Funs.PageSize = Convert.ToInt32(ConfigurationManager.AppSettings["PageSize"]); BLL.ErrLogInfo.DefaultErrLogFullPath = Server.MapPath("~/ErrLog.txt"); - //PersonKqSocketSersvices.init(1000); + PersonKqSocketSersvices.init(1000); // 使api返回为json GlobalConfiguration.Configuration.Formatters.XmlFormatter.SupportedMediaTypes.Clear(); }