From c38c4bda17e3774ec0fd58f90ba5e59e1f0639a2 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 30 十月 2019 16:39:29 +0800 Subject: [PATCH] swagger add ApiKeyAuth --- controllers/pollConfig.go | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/controllers/pollConfig.go b/controllers/pollConfig.go index 389c713..445168d 100644 --- a/controllers/pollConfig.go +++ b/controllers/pollConfig.go @@ -18,6 +18,7 @@ Enable bool `json:"enable"` //鏄惁鍚敤杞 } +// @Security ApiKeyAuth // @Summary 淇濆瓨杞鍛ㄦ湡 // @Description 淇濆瓨杞鍛ㄦ湡 // @Produce json @@ -42,6 +43,7 @@ } } +// @Security ApiKeyAuth // @Summary 淇濆瓨杞寤舵椂 // @Description 淇濆瓨杞寤舵椂 // @Produce json @@ -66,6 +68,7 @@ } } +// @Security ApiKeyAuth // @Summary 鑾峰彇鏈満杞閰嶇疆 // @Description 鑾峰彇鏈満杞閰嶇疆 // @Produce json @@ -87,6 +90,7 @@ Enable bool `json:"enable"` } +// @Security ApiKeyAuth // @Summary 鍒囨崲杞寮�鍏� // @Description 鍒囨崲杞寮�鍏� // @Produce json -- Gitblit v1.8.0