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();