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]