From 4e6e04d8a8e3628a89ae889c43758f92223c456c Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期二, 30 六月 2020 20:39:36 +0800 Subject: [PATCH] free camera alltask --- controllers/cameraRule.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/controllers/cameraRule.go b/controllers/cameraRule.go index 64064b8..ba2fdc1 100644 --- a/controllers/cameraRule.go +++ b/controllers/cameraRule.go @@ -195,6 +195,7 @@ var api dbapi.CameraRuleApi if api.DeleteByGroup(groupId) { util.ResponseFormat(c, code.Success, "鍒犻櫎鎴愬姛")//鎽勫儚鏈轰换鍔″弬鏁板垹闄ゅ畬浜� + } else { + util.ResponseFormat(c, code.ComError, "鍒犻櫎澶辫触") } - util.ResponseFormat(c, code.ComError, "鍒犻櫎澶辫触") } \ No newline at end of file -- Gitblit v1.8.0