added todos

This commit is contained in:
marvzhang
2020-07-30 23:09:18 +08:00
parent e13cd8993d
commit 0205dc5f11

View File

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