mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
@@ -127,6 +127,8 @@ func PutSchedule(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
//成功后,则启动定时任务
|
||||
item.Enabled=true
|
||||
// 加入用户ID
|
||||
item.UserId = services.GetCurrentUserId(c)
|
||||
|
||||
@@ -142,6 +144,7 @@ func PutSchedule(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
HandleSuccess(c)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user