feat: add file export

This commit is contained in:
2025-12-26 15:48:14 +08:00
parent bb7403f700
commit 0aaafdbaa3
3 changed files with 119 additions and 0 deletions

View File

@@ -34,3 +34,8 @@ type TaskListResponse struct {
TaskList []*TaskListDTO `json:"task_list"`
Total int64 `json:"total"`
}
type ExportTaskRequest struct {
TaskID int64 `json:"task_id" binding:"required"`
Type string `json:"type" binding:"required,oneof=pdf docx"`
}