added todos

This commit is contained in:
marvzhang
2020-07-30 23:09:18 +08:00
parent 90b8b623ae
commit 12009a387c

View File

@@ -42,6 +42,8 @@ func PutSystemTask(c *gin.Context) {
return
}
// TODO: 校验脚本是否正在运行
// 获取执行命令
cmd := fmt.Sprintf("sh %s", utils.GetSystemScriptPath(reqBody.Script))