From 9303b69ea569bcb5e581147543a3fd58e90d0d25 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期四, 20 八月 2020 20:05:23 +0800 Subject: [PATCH] add get buckets contrl --- controllers/cameraPolygon.go | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/controllers/cameraPolygon.go b/controllers/cameraPolygon.go index 1e52e3b..7117b62 100644 --- a/controllers/cameraPolygon.go +++ b/controllers/cameraPolygon.go @@ -33,6 +33,7 @@ Y float64 `json:"y"` } +// @Security ApiKeyAuth // @Summary 淇濆瓨鎽勫儚鏈哄杈瑰舰 // @Description 淇濆瓨鎽勫儚鏈哄杈瑰舰 // @Accept json @@ -54,10 +55,9 @@ util.ResponseFormat(c,code.ComError,"淇濆瓨澶辫触") } - +// @Security ApiKeyAuth // @Summary 鍒犻櫎鎽勫儚鏈哄尯鍩� // @Description 鍒犻櫎鎽勫儚鏈哄尯鍩� -// @Accept json // @Produce json // @Tags 鎽勫儚鏈哄杈瑰舰 // @Param id query string true "id" @@ -80,9 +80,9 @@ util.ResponseFormat(c,code.ComError,"鍒犻櫎") } +// @Security ApiKeyAuth // @Summary 鏌ユ壘鎽勫儚鏈哄尯鍩� // @Description 鏌ユ壘鎽勫儚鏈哄尯鍩� -// @Accept json // @Produce json // @Tags 鎽勫儚鏈哄杈瑰舰 // @Param cameraId query string true "cameraId" @@ -116,7 +116,7 @@ if flag { util.ResponseFormat(c,code.Success,data) } else { - util.ResponseFormat(c,code.ComError,data) + util.ResponseFormat(c,code.ComError,"鏇存柊澶辫触") } } -- Gitblit v1.8.0