fix: add rbac organization tree contracts

This commit is contained in:
wren
2026-05-11 02:17:50 +08:00
parent f753b8c6c3
commit 1a626a9020
2 changed files with 55 additions and 0 deletions
@@ -10,6 +10,7 @@ from fastapi_modules.fastapi_leaudit.domian.Dto.rbacAdminDto import (
RoleUpdateDTO,
)
from fastapi_modules.fastapi_leaudit.domian.vo.rbacAdminVo import (
OrganizationTreeVO,
RoleAccessSaveVO,
RoleListVO,
RolePermissionsVO,
@@ -51,6 +52,11 @@ class IRbacAdminService(ABC):
"""查询用户列表。"""
...
@abstractmethod
async def GetOrganizationTree(self, CurrentUserId: int, IncludeUsers: bool, RootUuid: str | None) -> OrganizationTreeVO:
"""查询组织树。"""
...
@abstractmethod
async def ListRoleUsers(self, CurrentUserId: int, RoleId: int, Page: int, PageSize: int, Area: str | None, UserName: str | None) -> UserListVO:
"""查询指定角色下的用户列表。"""