feat: update auto job (#191)

This commit is contained in:
zhangwenjian committed 2020-08-12 18:21:04 +08:00
1 parent 4dbacc7a16
commit 509709f3fb
6 files changed
+103 -48

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ func StartJob(c *gin.Context) {
data.JobId, _ = tools.StringToInt(c.Param("jobId"))
result, err := data.Get()
tools.HasError(err, "", 500)
j := jobs.ExecJob{}
j := &jobs.ExecJob{}
j.InvokeTarget = result.InvokeTarget
j.CronExpression = result.CronExpression
j.JobId = result.JobId