调整任务存储,任务查询

This commit is contained in:
chy
2025-07-01 09:57:16 +08:00
parent 09e9ebe8c3
commit 2791322a76
12 changed files with 81 additions and 84 deletions

View File

@ -100,3 +100,17 @@ type GetUserTaskRecordsListRes struct {
List interface{} `json:"list"`
Total int `json:"total"`
}
type GetTaskListReq struct {
g.Meta `path:"/task/list" method:"get" tags:"Backend-PC/Task" summary:"任务列表"`
}
type GetTaskListRes struct {
List interface{} `json:"list"`
Total int `json:"total"`
}
type SyncTaskReq struct {
g.Meta `path:"/task/sync" method:"post" tags:"Backend/Task" summary:"同步任务"`
}
type SyncTaskRes struct {
}