liuxiaolong
2020-06-28 9a88e95e0c6bce22a82cba042564fc9650babb96
controllers/cameraRule.go
@@ -2,6 +2,7 @@
import (
   "basic.com/dbapi.git"
   "basic.com/valib/logger.git"
   "github.com/gin-gonic/gin"
   "webserver/extend/code"
   "webserver/extend/util"
@@ -35,6 +36,7 @@
   }
   var api dbapi.CameraRuleApi
   b,d := api.FindByCameraId(cameraId)
   logger.Debug("b:", b, d)
   if b {
      util.ResponseFormat(c,code.Success,d)
   } else {
@@ -179,7 +181,7 @@
// @Summary 根据分组id删除摄像机算法规则
// @Description 根据分组id删除摄像机算法规则
// @Produce json
// @Tags CameraTaskArgs
// @Tags 摄像机规则
// @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:"错误信息内容"}"