feat: optimized spider, task pages

This commit is contained in:
Marvin Zhang
2024-10-17 20:11:38 +08:00
parent 2bb697446b
commit 2f8f38f145

View File

@@ -24,5 +24,6 @@ type TaskV2 struct {
HasSub bool `json:"has_sub" json:"has_sub"`
SubTasks []TaskV2 `json:"sub_tasks,omitempty" bson:"-"`
Spider *SpiderV2 `json:"spider,omitempty" bson:"-"`
Schedule *ScheduleV2 `json:"schedule,omitempty" bson:"-"`
UserId primitive.ObjectID `json:"-" bson:"-"`
}