修改考试api

This commit is contained in:
潘鸿锋 2024-04-08 12:00:17 +08:00
parent 4b1d69f7f9
commit 23667888c9
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}