- taskID is a must for CancelTask.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user