From 35ac267cb7fc2274fc00c6dbad90ec18ea071760 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期二, 30 七月 2019 19:16:24 +0800
Subject: [PATCH] fix swagger
---
controllers/task.go | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/controllers/task.go b/controllers/task.go
index 2a2f10a..bc9392c 100644
--- a/controllers/task.go
+++ b/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]
--
Gitblit v1.8.0