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/dictionary.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/controllers/dictionary.go b/controllers/dictionary.go index a68bc28..a71ecce 100644 --- a/controllers/dictionary.go +++ b/controllers/dictionary.go @@ -10,6 +10,7 @@ type DictionaryController struct { } +// @Security ApiKeyAuth // @Summary 鏍规嵁绫诲瀷鏌ユ壘瀛楀吀 // @Description 鏍规嵁绫诲瀷鏌ユ壘瀛楀吀 // @Produce json @@ -28,6 +29,7 @@ } } +// @Security ApiKeyAuth // @Summary 鏍规嵁鐖禝D鏌ユ壘瀛楀吀 // @Description 鏍规嵁鐖禝D鏌ユ壘瀛楀吀 // @Produce json -- Gitblit v1.8.0