增加:listAll,选取所有的用户,并表list形式返回

This commit is contained in:
tiezx 2025-07-17 12:49:55 +08:00
parent 5e1e8f42e8
commit 5e522ee362

View File

@ -255,4 +255,10 @@ public class SysUserController extends BaseController {
return R.ok(deptService.selectDeptTreeList(dept));
}
@SaCheckPermission("system:user:list")
@GetMapping("/listAll")
public R< List<SysUser>> listAll() {
return R.ok(userService.selectAllUsersList());
}
}