增加系统配置,修复后台没权限显示
This commit is contained in:
@@ -65,5 +65,14 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
|
||||
return View();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 显示没权限
|
||||
[AllowAnonymous]
|
||||
//显示没有权限
|
||||
public IActionResult NotAuthorize()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,6 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
|
||||
/// <summary>
|
||||
/// 后台上传文件帮助类
|
||||
/// </summary>
|
||||
[Area("AdminCP")]
|
||||
public class UploadController : AdminBaseController
|
||||
{
|
||||
private readonly SystemSetting _attachsetting;
|
||||
|
||||
Reference in New Issue
Block a user