🚧 Refactor basic services

This commit is contained in:
2025-12-14 02:19:50 +08:00
parent d16905c0a3
commit cc4c2189dc
126 changed files with 18164 additions and 4247 deletions

View File

@@ -52,7 +52,7 @@ func (ws *WindowService) OpenDocumentWindow(documentID int64) error {
}
// 获取文档信息
doc, err := ws.documentService.GetDocumentByID(documentID)
doc, err := ws.documentService.GetDocumentByID(context.Background(), int(documentID))
if err != nil {
return fmt.Errorf("failed to get document: %w", err)
}