feat(documents): rebuild project document workbench

This commit is contained in:
2026-07-24 12:16:02 +08:00
parent 366136cee9
commit 77beaebb30
73 changed files with 5867 additions and 1264 deletions

View File

@@ -62,7 +62,7 @@ type SyncResultDTO struct {
}
type DepositDTO struct {
NoteID string `json:"noteId"`
DocumentID string `json:"documentId"`
ProjectID string `json:"projectId"`
}
@@ -303,7 +303,7 @@ func (h *Handler) depositItem(c *gin.Context) {
return
}
c.JSON(http.StatusCreated, DepositDTO{
NoteID: result.NoteIdentity, ProjectID: result.ProjectIdentity,
DocumentID: result.DocumentIdentity, ProjectID: result.ProjectIdentity,
})
}