From 4b7e8759bd5243f2838ab9c2317d05bd72119223 Mon Sep 17 00:00:00 2001 From: du <1725534722@qq.com> Date: Tue, 10 Dec 2024 13:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/tc/controller/UnitController.java | 1 - 1 file changed, 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/UnitController.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/UnitController.java index d30270b..9182da9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/UnitController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/UnitController.java @@ -222,7 +222,6 @@ public class UnitController { @ApiOperation(value = "修改单位密码") @Log(title = "用户管理", businessType = BusinessType.UPDATE) @GetMapping("/edit/{id}") - @PreAuthorize("@ss.hasAnyRoles('admin')") @Transactional(rollbackFor = Exception.class) public AjaxResult editPassword(@PathVariable Long id) { String password = PasswordGenerator.password();