fix(我的绩效): 放开调用/list-self-and-children接口的权限。
This commit is contained in:
@@ -97,7 +97,7 @@ public class DeptController {
|
||||
@GetMapping("/list-self-and-children")
|
||||
@Operation(summary = "获取部门自身及全部子部门")
|
||||
@Parameter(name = "id", description = "部门编号", required = true, example = "1024")
|
||||
@PreAuthorize("@ss.hasPermission('system:dept:query')")
|
||||
//@PreAuthorize("@ss.hasPermission('system:dept:query')")
|
||||
public CommonResult<List<DeptSimpleRespVO>> getDeptSelfAndChildren(@RequestParam("id") Long id) {
|
||||
DeptDO self = deptService.getDept(id);
|
||||
if (self == null) {
|
||||
|
||||
Reference in New Issue
Block a user