From f926763fa581798d0677c4291e057b0d8acfaad2 Mon Sep 17 00:00:00 2001 From: gazebo Date: Sat, 20 Oct 2018 15:14:16 +0800 Subject: [PATCH] - taskID is a must for CancelTask. --- controllers/cms_task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/cms_task.go b/controllers/cms_task.go index 829701d25..6d8980568 100644 --- a/controllers/cms_task.go +++ b/controllers/cms_task.go @@ -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]