增加功能:未授权页面增加缓存10分钟

This commit is contained in:
Argo-MacBookPro 2018-09-12 22:31:42 +08:00
parent f83717e724
commit 325aaa4ca1
1 changed files with 1 additions and 0 deletions

View File

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