Merge pull request #875 from YBENS/develop

fixed:#830
This commit is contained in:
Marvin Zhang
2020-11-04 17:39:11 +08:00
committed by GitHub

View File

@@ -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)
}