|
@@ -166,7 +166,6 @@ public class SysUserController extends BaseController
|
|
|
/**
|
|
|
* 根据用户编号获取详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:user:query')")
|
|
|
@GetMapping(value = { "/", "/{userId}" })
|
|
|
@ApiOperation("根据用户编号获取详细信息")
|
|
|
public AjaxResult getInfo(@PathVariable(value = "userId", required = false) Long userId)
|
|
@@ -342,7 +341,6 @@ public class SysUserController extends BaseController
|
|
|
/**
|
|
|
* 根据用户编号获取授权角色
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:user:query')")
|
|
|
@GetMapping("/authRole/{userId}")
|
|
|
@ApiOperation("根据用户编号获取授权角色")
|
|
|
public AjaxResult authRole(@PathVariable("userId") Long userId)
|
|
@@ -372,7 +370,6 @@ public class SysUserController extends BaseController
|
|
|
/**
|
|
|
* 获取部门树列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:user:list')")
|
|
|
@GetMapping("/deptTree")
|
|
|
@ApiOperation("获取部门树列表")
|
|
|
public AjaxResult deptTree(SysDept dept)
|