feat: add backend rule group and permission support

This commit is contained in:
wren
2026-05-06 09:40:37 +08:00
parent 7acbe0f1d9
commit 76ba7e65ed
45 changed files with 6175 additions and 110 deletions
@@ -0,0 +1,19 @@
"""规则配置页聚合服务接口。"""
from abc import ABC, abstractmethod
from fastapi_modules.fastapi_leaudit.domian.vo.ruleConfigVo import RuleConfigPackVO
class IRuleConfigService(ABC):
"""规则配置页聚合服务接口。"""
@abstractmethod
async def ListPacks(self) -> list[RuleConfigPackVO]:
"""列出规则配置页所需的全部 pack。"""
...
@abstractmethod
async def GetPack(self, PackId: int) -> RuleConfigPackVO:
"""获取单个规则配置 pack。"""
...