From 4d0e5b1e9f59ebba7f875c9a39a6ab84c9dde4b6 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期二, 12 十一月 2019 20:24:24 +0800 Subject: [PATCH] update swagger --- controllers/eventPush.go | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/controllers/eventPush.go b/controllers/eventPush.go index a203f40..4580206 100644 --- a/controllers/eventPush.go +++ b/controllers/eventPush.go @@ -50,6 +50,8 @@ // @Security ApiKeyAuth // @Summary 浜嬩欢鎺ㄩ�佷繚瀛� // @Description 浜嬩欢鎺ㄩ�佷繚瀛� +// @Accept json +// @Produce json // @Tags 浜嬩欢鎺ㄩ�� // @Param SaveArgs body controllers.EventPushVo true "鏃堕棿鎺ㄩ�佷繚瀛樺弬鏁�" // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" @@ -74,6 +76,7 @@ // @Security ApiKeyAuth // @Summary 鏍规嵁浜嬩欢鎺ㄩ�佷富棰樼殑涓�绾у拰浜岀骇閫夐」鑾峰彇鏈�鍚庝笅鎷夎彍鍗曞垪琛� // @Description 鏍规嵁浜嬩欢鎺ㄩ�佷富棰樼殑涓�绾у拰浜岀骇閫夐」鑾峰彇鏈�鍚庝笅鎷夎彍鍗曞垪琛� +// @Accept x-www-form-urlencoded // @Produce json // @Tags 浜嬩欢鎺ㄩ�� // @Param topic query string true "涓�绾т富棰橀�夐」,渚嬪锛歝amera(鎽勫儚鏈�)" @@ -100,6 +103,7 @@ // @Security ApiKeyAuth // @Summary 鏌ュ叏閮� // @Description 鏌ュ叏閮� +// @Accept x-www-form-urlencoded // @Produce json // @Tags 浜嬩欢鎺ㄩ�� // @Param name query string false "浜嬩欢鍚嶇О" @@ -120,6 +124,7 @@ // @Security ApiKeyAuth // @Summary 浜嬩欢鎺ㄩ�佺紪杈� // @Description 浜嬩欢鎺ㄩ�佺紪杈� +// @Accept x-www-form-urlencoded // @Produce json // @Tags 浜嬩欢鎺ㄩ�� // @Param id query string true "id" @@ -149,6 +154,7 @@ // @Security ApiKeyAuth // @Summary 鏀瑰彉enable鐘舵�� // @Description 鏀瑰彉enable鐘舵�� +// @Accept json // @Produce json // @Tags 浜嬩欢鎺ㄩ�� // @Param statusBody body controllers.ChangeStatusVo true "鍙傛暟缁撴瀯" -- Gitblit v1.8.0