From cc227efa2c3c0fc333bf0f3db2327df5c36f7c17 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期四, 07 十一月 2019 19:58:16 +0800 Subject: [PATCH] add route --- controllers/cameraTimerule.go | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/controllers/cameraTimerule.go b/controllers/cameraTimerule.go index a4a249e..e8c1d4d 100644 --- a/controllers/cameraTimerule.go +++ b/controllers/cameraTimerule.go @@ -29,7 +29,8 @@ Start string `json:"start"`//寮�濮� End string `json:"end"`//缁撴潫 } -// + +// @Security ApiKeyAuth // @Summary 鏃堕棿瑙勫垯淇濆瓨 // @Description 鏃堕棿瑙勫垯淇濆瓨 // @Accept json @@ -62,6 +63,7 @@ util.ResponseFormat(c,code.ComError,"淇濆瓨澶辫触") } +// @Security ApiKeyAuth // @Summary 鍒犻櫎鏃堕棿瑙勫垯 // @Description 鍒犻櫎鏃堕棿瑙勫垯 // @Accept json @@ -85,6 +87,7 @@ util.ResponseFormat(c, code.ComError, "鍒犻櫎澶辫触") } +// @Security ApiKeyAuth // @Summary 鏌ユ壘鎵�鏈夋椂闂磋鍒� // @Description 鏌ユ壘鎵�鏈夋椂闂磋鍒� // @Accept json -- Gitblit v1.8.0