修复设置,更换mysql驱动

This commit is contained in:
2018-07-06 16:10:57 +08:00
parent 1b5155aeaa
commit 318ce3ae0d
9 changed files with 67 additions and 22 deletions
@@ -16,7 +16,7 @@ namespace COMCMS.Web.Common
{
context.HttpContext.Request.ContentType = "application/json";
context.HttpContext.Request.Headers["Accept"] = "application/json";
ReJSON model = new ReJSON(5001, "执行错误:" + context.Exception.Message);
ReJson model = new ReJson(5001, "执行错误:" + context.Exception.Message);
context.Result = new JsonResult(model);
base.OnException(context);
}