liuxiaolong
2019-07-30 35ac267cb7fc2274fc00c6dbad90ec18ea071760
fix swagger
1个文件已修改
6 ■■■■ 已修改文件
controllers/task.go 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
controllers/task.go
@@ -152,8 +152,8 @@
// @Description 更新任务名称
// @Produce json
// @Tags task
// @Param taskId body string true "taskId"
// @Param taskName body string true "taskName"
// @Param taskId query string true "taskId"
// @Param taskName query string true "taskName"
// @Success 200 {string} json "{"code":200, msg:"",data:"",success:true}"
// @Failure 500 {string} json "{"code":500, msg:"",data:"",success:false}"
// @Router /data/api-v/task/updateTaskName [POST]
@@ -271,7 +271,7 @@
// @Description 删除算法规则
// @Produce json
// @Tags 算法规则
// @Param id body string true "id"
// @Param id query string true "id"
// @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}"
// @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}"
// @Router /data/api-v/task/deleteTaskSdkRuleById [post]