refact: update list api

This commit is contained in:
2026-03-31 22:32:14 +08:00
parent 697da06f14
commit 1214c91448
4 changed files with 1181 additions and 39 deletions

View File

@@ -8,7 +8,7 @@ type EvaluateTaskRequest struct {
}
type TaskListRequest struct {
TaskType string `json:"task_type" form:"task_type" binding:"required"`
TaskType string `json:"task_type" form:"task_type"`
Page int `json:"page" form:"page"`
PageSize int `json:"page_size" form:"page_size"`
UserID int64 `json:"-"`
@@ -21,10 +21,6 @@ type TaskListDTO struct {
OriginURL string `json:"origin_url"`
TaskType string `json:"task_type"`
CreatedAt string `json:"created_at"`
Latex string `json:"latex"`
Markdown string `json:"markdown"`
MathML string `json:"mathml"`
MML string `json:"mml"`
}
type TaskListResponse struct {