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/cameraPolygon.go | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/controllers/cameraPolygon.go b/controllers/cameraPolygon.go index 4408523..e71a471 100644 --- a/controllers/cameraPolygon.go +++ b/controllers/cameraPolygon.go @@ -33,6 +33,7 @@ Y float64 `json:"y"` } +// @Security ApiKeyAuth // @Summary 淇濆瓨鎽勫儚鏈哄杈瑰舰 // @Description 淇濆瓨鎽勫儚鏈哄杈瑰舰 // @Accept json @@ -54,7 +55,7 @@ util.ResponseFormat(c,code.ComError,"淇濆瓨澶辫触") } - +// @Security ApiKeyAuth // @Summary 鍒犻櫎鎽勫儚鏈哄尯鍩� // @Description 鍒犻櫎鎽勫儚鏈哄尯鍩� // @Accept json @@ -80,6 +81,7 @@ util.ResponseFormat(c,code.ComError,"鍒犻櫎") } +// @Security ApiKeyAuth // @Summary 鏌ユ壘鎽勫儚鏈哄尯鍩� // @Description 鏌ユ壘鎽勫儚鏈哄尯鍩� // @Accept json -- Gitblit v1.8.0