Skip to content

Commit

Permalink
添加忽略权限
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyuwu committed Apr 19, 2024
1 parent 647e8d7 commit af12b7f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions TemplateCore/Controllers/EditorController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
using DTO;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MyFilter;

namespace TemplateCore.Controllers
{
[NoPermissionRequired]
public class EditorController : Controller
{
#region MarkDown
Expand Down
2 changes: 1 addition & 1 deletion TemplateCore/Controllers/OfficeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace TemplateCore.Controllers
{
[NoPermissionRequiredAttribute]
[NoPermissionRequired]
public class OfficeController : Controller
{
public IActionResult Index()
Expand Down
2 changes: 1 addition & 1 deletion TemplateCore/Controllers/ToolController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace TemplateCore.Controllers
{
[NoPermissionRequiredAttribute]
[NoPermissionRequired]
public class ToolController : Controller
{
public IActionResult Index()
Expand Down
2 changes: 1 addition & 1 deletion TemplateCore/Controllers/VerifyController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace TemplateCore.Controllers
{
[NoPermissionRequiredAttribute]
[NoPermissionRequired]
public class VerifyController : Controller
{
public IActionResult Index()
Expand Down

0 comments on commit af12b7f

Please sign in to comment.