2024-05-23 修改生成试卷时返回指定数量题目
This commit is contained in:
@@ -9,6 +9,7 @@ using System.Web.Routing;
|
||||
using System.Configuration;
|
||||
using BLL;
|
||||
using WebAPI.Common;
|
||||
using WebAPI.Log;
|
||||
|
||||
namespace WebAPI
|
||||
{
|
||||
@@ -33,6 +34,8 @@ namespace WebAPI
|
||||
//PersonKqSocketSersvices.init(1000);
|
||||
// 使api返回为json
|
||||
GlobalConfiguration.Configuration.Formatters.XmlFormatter.SupportedMediaTypes.Clear();
|
||||
|
||||
GlobalConfiguration.Configuration.MessageHandlers.Add(new CustomMessageHandler());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user