fix: remove sha256 duplicate check so re-upload always creates new version in group
This commit is contained in:
@@ -126,6 +126,11 @@ class IGovdocService(ABC):
|
||||
# ── 规则 ──────────────────────────────────────────────
|
||||
|
||||
@abstractmethod
|
||||
async def ListRules(self) -> dict[str, Any]:
|
||||
async def ListRules(self, rulesPath: str | None = None) -> dict[str, Any]:
|
||||
"""获取当前生效规则集摘要。"""
|
||||
...
|
||||
|
||||
@abstractmethod
|
||||
async def GetRuleDetail(self, ruleId: str, rulesPath: str | None = None) -> dict[str, Any]:
|
||||
"""获取单条规则完整详情(名称、严重度、分类、分组、stages、消息等)。"""
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user