- taskID is a must for CancelTask.

This commit is contained in:
gazebo
2018-10-20 15:14:16 +08:00
parent bac05651aa
commit f926763fa5

View File

@@ -39,7 +39,7 @@ func (c *TaskController) GetTasks() {
// @Title 取消长时间运行任务
// @Description 取消长时间运行任务
// @Param token header string true "认证token"
// @Param taskID query string false "任务ID"
// @Param taskID query string true "任务ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /CancelTask [put]