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