| | |
| | | public AjaxResult deptTree(SysDept dept) { |
| | | return success(deptService.selectDeptTreeList(dept)); |
| | | } |
| | | |
| | | /** |
| | | * 获取部门树列表 |
| | | */ |
| | | @GetMapping("/deptTree/noPerm") |
| | | public AjaxResult deptTreeNoPerm(SysDept dept) { |
| | | return success(deptService.selectDeptTreeList(dept)); |
| | | } |
| | | /** |
| | | * 修改密码 |
| | | */ |
| | | @ApiOperation("修改密码") |
| | | @PreAuthorize("@ss.hasPermi('system:user:changePwd')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:changePwd')") |
| | | @PutMapping("/changePwd") |
| | | public Results changePwd(String newPassword) { |
| | | String userId = SecurityUtils.getUserId(); |