允许创建/更新时指定执行次数
This commit is contained in:
@@ -53,6 +53,7 @@ func PlanFromCreateRequest(req *CreatePlanRequest) (*models.Plan, error) {
|
||||
Name: req.Name,
|
||||
Description: req.Description,
|
||||
ExecutionType: req.ExecutionType,
|
||||
ExecuteNum: req.ExecuteNum,
|
||||
CronExpression: req.CronExpression,
|
||||
ContentType: req.ContentType,
|
||||
}
|
||||
@@ -99,6 +100,7 @@ func PlanFromUpdateRequest(req *UpdatePlanRequest) (*models.Plan, error) {
|
||||
Name: req.Name,
|
||||
Description: req.Description,
|
||||
ExecutionType: req.ExecutionType,
|
||||
ExecuteNum: req.ExecuteNum,
|
||||
CronExpression: req.CronExpression,
|
||||
ContentType: req.ContentType,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user