mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-09 19:04:44 +08:00
update ErrorController
This commit is contained in:
@@ -40,15 +40,9 @@ namespace OpenAuth.Mvc.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public string Http500()
|
public ActionResult Http500()
|
||||||
{
|
{
|
||||||
Response.Charset = "utf-8";
|
return Content("哇哦!服务器内部出问题了,让站长看看日志吧~~", "text/plain");
|
||||||
var response = new Response
|
|
||||||
{
|
|
||||||
Status = false,
|
|
||||||
Message = "内部错误"
|
|
||||||
};
|
|
||||||
return JsonHelper.Instance.Serialize(response);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user