From 2bd2068c999cda5bda8c0787ed0dcaac6cb7afdb Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期四, 31 十月 2019 13:27:46 +0800 Subject: [PATCH] feat: add system reboot api --- 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