增加功能:未授权页面增加缓存10分钟
This commit is contained in:
parent
f83717e724
commit
325aaa4ca1
|
@ -49,6 +49,7 @@ namespace Bootstrap.Admin.Controllers
|
||||||
/// Accesses the denied.
|
/// Accesses the denied.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>The denied.</returns>
|
/// <returns>The denied.</returns>
|
||||||
|
[ResponseCache(Duration = 600)]
|
||||||
public ActionResult AccessDenied()
|
public ActionResult AccessDenied()
|
||||||
{
|
{
|
||||||
return View();
|
return View();
|
||||||
|
|
Loading…
Reference in New Issue