增加系统配置,修复后台没权限显示

This commit is contained in:
2018-04-16 01:14:42 +08:00
parent 42335efe55
commit ef947bf890
11 changed files with 494 additions and 6 deletions
@@ -65,5 +65,14 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
return View();
}
#endregion
#region 显示没权限
[AllowAnonymous]
//显示没有权限
public IActionResult NotAuthorize()
{
return View();
}
#endregion
}
}