From 71ce16cb6eba7898b6e555e6b29c3608b39e2892 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期日, 28 六月 2020 20:04:43 +0800
Subject: [PATCH] fix DeleteGroup

---
 controllers/cameraRule.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/controllers/cameraRule.go b/controllers/cameraRule.go
index 2db8f73..64064b8 100644
--- a/controllers/cameraRule.go
+++ b/controllers/cameraRule.go
@@ -185,7 +185,7 @@
 // @Param groupId path string true "浠诲姟绠楁硶鍙傛暟鍒嗙粍id"
 // @Success 200 {string} json "{"code":200, success:true, msg:"璇锋眰澶勭悊鎴愬姛", data:""}"
 // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:"閿欒淇℃伅鍐呭"}"
-// @Router /data/api-v/camera/rule/deleteGroup/{groupId} [get]
+// @Router /data/api-v/camera/rule/deleteGroup/{groupId} [delete]
 func (crc CameraRuleController) DeleteByGroup(c *gin.Context) {
 	groupId := c.Param("groupId")
 	if groupId == "" {

--
Gitblit v1.8.0