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/dbtableperson.go | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/controllers/dbtableperson.go b/controllers/dbtableperson.go index baa0257..902e998 100644 --- a/controllers/dbtableperson.go +++ b/controllers/dbtableperson.go @@ -28,6 +28,7 @@ type DbPersonController struct { } +// @Security ApiKeyAuth // @Summary 娣诲姞搴曞簱浜哄憳 // @Description 娣诲姞搴曞簱浜哄憳 // @Accept json @@ -81,6 +82,7 @@ return result } +// @Security ApiKeyAuth // @Summary 淇敼搴曞簱浜哄憳 // @Description 淇敼搴曞簱浜哄憳 // @Accept json @@ -108,6 +110,7 @@ } } +// @Security ApiKeyAuth // @Summary 搴曞簱浜哄憳浠ュ浘鎼滃浘 // @Description 搴曞簱浜哄憳浠ュ浘鎼滃浘 // @Accept json @@ -240,6 +243,7 @@ return resultList } +// @Security ApiKeyAuth // @Summary 鏇存柊搴曞簱浜鸿劯鐓х墖 // @Description 鏇存柊搴曞簱浜鸿劯鐓х墖 // @Accept json @@ -366,6 +370,7 @@ return message } +// @Security ApiKeyAuth // @Summary 鍒犻櫎搴曞簱浜哄憳 // @Description 鍒犻櫎搴撲汉鍛� // @Accept x-www-form-urlencoded @@ -393,6 +398,7 @@ type DelMultiPerson []string +// @Security ApiKeyAuth // @Summary 鍒犻櫎搴曞簱浜哄憳 // @Description 鍒犻櫎搴撲汉鍛� // @Accept json @@ -422,6 +428,7 @@ } } +// @Security ApiKeyAuth // @Summary 鏌ヨ搴曞簱浜哄憳鍒楄〃 // @Description 鏌ヨ搴撲汉鍛樺垪琛� // @Accept json @@ -491,6 +498,7 @@ TableIds []string `json:"tableIds"` } +// @Security ApiKeyAuth // @Summary 鎶撴媿浜哄憳鍔犲叆搴曞簱 // @Description 鎶撴媿浜哄憳鍔犲叆搴曞簱 // @Accept json -- Gitblit v1.8.0