From cc227efa2c3c0fc333bf0f3db2327df5c36f7c17 Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期四, 07 十一月 2019 19:58:16 +0800
Subject: [PATCH] add route
---
controllers/eventPush.go | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/controllers/eventPush.go b/controllers/eventPush.go
index 18f8a49..a203f40 100644
--- a/controllers/eventPush.go
+++ b/controllers/eventPush.go
@@ -47,6 +47,7 @@
Enable bool `json:"enable"`
}
+// @Security ApiKeyAuth
// @Summary 浜嬩欢鎺ㄩ�佷繚瀛�
// @Description 浜嬩欢鎺ㄩ�佷繚瀛�
// @Tags 浜嬩欢鎺ㄩ��
@@ -70,6 +71,7 @@
}
}
+// @Security ApiKeyAuth
// @Summary 鏍规嵁浜嬩欢鎺ㄩ�佷富棰樼殑涓�绾у拰浜岀骇閫夐」鑾峰彇鏈�鍚庝笅鎷夎彍鍗曞垪琛�
// @Description 鏍规嵁浜嬩欢鎺ㄩ�佷富棰樼殑涓�绾у拰浜岀骇閫夐」鑾峰彇鏈�鍚庝笅鎷夎彍鍗曞垪琛�
// @Produce json
@@ -95,6 +97,7 @@
}
}
+// @Security ApiKeyAuth
// @Summary 鏌ュ叏閮�
// @Description 鏌ュ叏閮�
// @Produce json
@@ -114,6 +117,7 @@
}
}
+// @Security ApiKeyAuth
// @Summary 浜嬩欢鎺ㄩ�佺紪杈�
// @Description 浜嬩欢鎺ㄩ�佺紪杈�
// @Produce json
@@ -142,6 +146,7 @@
Enable bool `json:"enable"`
}
+// @Security ApiKeyAuth
// @Summary 鏀瑰彉enable鐘舵��
// @Description 鏀瑰彉enable鐘舵��
// @Produce json
@@ -166,12 +171,13 @@
}
}
+// @Security ApiKeyAuth
// @Summary 鏍规嵁id鍒犻櫎
// @Description 鏍规嵁id鍒犻櫎
// @Accept x-www-form-urlencoded
// @Produce json
// @Tags 浜嬩欢鎺ㄩ��
-// @Param id query string true "id"
+// @Param id formData 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/eventPush/delete [post]
--
Gitblit v1.8.0