feat: 菜单、角色、字典、部门添加接口权限控制
This commit is contained in:
@@ -104,6 +104,7 @@ public class SysUserController {
|
||||
|
||||
@Operation(summary = "修改用户密码", security = {@SecurityRequirement(name = "Authorization")})
|
||||
@PatchMapping(value = "/{userId}/password")
|
||||
@PreAuthorize("@ss.hasPerm('sys:user:reset_pwd')")
|
||||
public Result updatePassword(
|
||||
@Parameter(description = "用户ID") @PathVariable Long userId,
|
||||
@RequestParam String password
|
||||
|
||||
Reference in New Issue
Block a user