feat(govdoc): 补 structure/outline API 端点

This commit is contained in:
wren
2026-05-13 15:25:13 +08:00
parent eb5acc8da9
commit b532ffc3b9
5 changed files with 71 additions and 0 deletions
@@ -111,6 +111,14 @@ class GovdocServiceImpl(IGovdocService):
logger.info("[Govdoc] GetRunParagraphs placeholder — runId=%s", runId)
return {"runId": runId, "paragraphs": []}
async def GetRunStructure(self, runId: int) -> dict[str, Any]:
logger.info("[Govdoc] GetRunStructure placeholder — runId=%s", runId)
return {"runId": runId, "structure": []}
async def GetRunOutline(self, runId: int) -> dict[str, Any]:
logger.info("[Govdoc] GetRunOutline placeholder — runId=%s", runId)
return {"runId": runId, "outline": []}
async def GetReportHtml(self, runId: int) -> dict[str, Any]:
logger.info("[Govdoc] GetReportHtml placeholder — runId=%s", runId)
return {"runId": runId, "htmlUrl": ""}