refact: update list api
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user