mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-04-14 20:33:40 +00:00
fix: 修复部门树无法加载
This commit is contained in:
@@ -317,8 +317,9 @@ public class SysUserController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@SaCheckPermission("system:user:list")
|
@SaCheckPermission("system:user:list")
|
||||||
@GetMapping("/deptTree")
|
@GetMapping("/deptTree")
|
||||||
public R<List<Tree<Long>>> deptTree(SysDeptBo dept) {
|
public R<List> deptTree(SysDeptBo dept) {
|
||||||
return R.ok(deptService.selectDeptTreeList(dept));
|
List<Tree<Long>> trees = deptService.selectDeptTreeList(dept);
|
||||||
|
return R.ok(trees);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user