diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/PersonController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/PersonController.java index 6557554..cafa933 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/controller/PersonController.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/PersonController.java @@ -74,7 +74,8 @@ public class PersonController extends BaseController /** * 新增用户信息 */ - @PreAuthorize("@ss.hasPermi('system:person:add')") +// @PreAuthorize("@ss.hasPermi('system:person:add')") + @Anonymous @Log(title = "用户信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody Person person) @@ -85,7 +86,8 @@ public class PersonController extends BaseController /** * 修改用户信息 */ - @PreAuthorize("@ss.hasPermi('system:person:edit')") +// @PreAuthorize("@ss.hasPermi('system:person:edit')") + @Anonymous @Log(title = "用户信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody Person person)