From db4538fa3cb8fde643c900b6644d0469122ac20c Mon Sep 17 00:00:00 2001 From: Levi Date: Mon, 23 Dec 2024 14:02:32 +0800 Subject: [PATCH] =?UTF-8?q?Idea=E4=BB=A3=E7=A0=8112=E6=9C=8823=E6=97=A5?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/system/controller/PersonController.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)