liuxiaolong
2019-10-30 c38c4bda17e3774ec0fd58f90ba5e59e1f0639a2
controllers/task.go
@@ -38,6 +38,7 @@
   FaceExtract_VirtualSdkId = "virtual-faceextract-sdk-pull"//结果输出的算法id
)
// @Security ApiKeyAuth
// @Summary 查找所有任务,包含任务信息和对应的算法信息
// @Description 查找所有任务
// @Produce json
@@ -69,6 +70,7 @@
   }
}
// @Security ApiKeyAuth
// @Summary 检索页面获取所有任务列表(包含已删除的任务)
// @Description 检索页面获取所有任务列表(包含已删除的任务)
// @Produce json
@@ -125,6 +127,7 @@
   }
}
// @Security ApiKeyAuth
// @Summary 添加任务
// @Description 查找所有任务
// @Accept json
@@ -161,6 +164,7 @@
   Sort int `json:"sort"`
}
// @Security ApiKeyAuth
// @Summary 给任务添加算法
// @Description 任务添加算法
// @Produce json
@@ -186,6 +190,7 @@
   }
}
// @Security ApiKeyAuth
// @Summary 任务删除算法
// @Description 根据taskid和sdkid删除
// @Produce json
@@ -211,6 +216,7 @@
   }
}
// @Security ApiKeyAuth
// @Summary 更新任务名称
// @Description 更新任务名称
// @Produce json
@@ -241,6 +247,7 @@
   Enable bool `json:"enable"`
}
// @Security ApiKeyAuth
// @Summary 更新任务状态
// @Description (算法不变,只更新任务状态)
// @Produce json
@@ -266,7 +273,7 @@
   }
}
// @Security ApiKeyAuth
// @Summary 删除任务
// @Description 根据任务id删除任务
// @Produce json
@@ -304,6 +311,7 @@
   SdkArgValue string `json:"sdk_arg_value"`
}
// @Security ApiKeyAuth
// @Summary 保存算法规则
// @Description 保存算法规则
// @Accept json
@@ -330,6 +338,7 @@
   }
}
// @Security ApiKeyAuth
// @Summary 删除算法规则
// @Description 删除算法规则
// @Produce json
@@ -354,7 +363,7 @@
   }
}
// @Security ApiKeyAuth
// @Summary 查询算法规则
// @Description 查询算法规则
// @Produce json