feat: add rbac-backed settings modules
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
"""首页入口服务接口。"""
|
||||
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
from fastapi_modules.fastapi_leaudit.domian.vo.homeVo import HomeEntryModuleVO
|
||||
|
||||
|
||||
class IHomeService(ABC):
|
||||
"""首页入口服务接口。"""
|
||||
|
||||
@abstractmethod
|
||||
async def GetEntryModules(self, UserId: int) -> list[HomeEntryModuleVO]:
|
||||
"""获取当前用户可见的首页入口模块。"""
|
||||
...
|
||||
Reference in New Issue
Block a user