fixed unable to call task issues

This commit is contained in:
marvzhang
2020-06-18 10:53:50 +08:00
parent 8a54f8d168
commit 7551f28b71

View File

@@ -131,6 +131,10 @@ func PutTask(c *gin.Context) {
// 绑定数据
var reqBody TaskRequestBody
if err := c.ShouldBindJSON(&reqBody); err != nil {
HandleError(http.StatusInternalServerError, c, err)
return
}
// 任务ID
var taskIds []string