added part of the system tasks logic

This commit is contained in:
marvzhang
2020-07-30 23:06:11 +08:00
parent ec81344e20
commit d525099568
13 changed files with 258 additions and 56 deletions

View File

@@ -29,6 +29,7 @@ type Task struct {
Pid int `json:"pid" bson:"pid"`
RunType string `json:"run_type" bson:"run_type"`
ScheduleId bson.ObjectId `json:"schedule_id" bson:"schedule_id"`
Type string `json:"type" bson:"type"`
// 前端数据
SpiderName string `json:"spider_name"`