|
|
|
@@ -35,7 +35,7 @@ func (l *ScheduleTaskByYamlLogic) ScheduleTaskByYaml(req *types.ScheduleTaskByYa |
|
|
|
} |
|
|
|
// 构建主任务结构体 |
|
|
|
taskModel := models.Task{ |
|
|
|
Status: constants.TASK_STATUS_SAVED, |
|
|
|
Status: constants.Saved, |
|
|
|
Description: req.Description, |
|
|
|
Name: req.Name, |
|
|
|
YamlString: string(bytes), |
|
|
|
|