sunty
2019-11-14 c4c73a384c1a02c26c81b0a76bb1d10062e64cb4
controllers/camera.go
@@ -85,6 +85,7 @@
   err := c.BindJSON(&cam)
   if err != nil {
      logger.Debug("err:",err)
      util.ResponseFormat(c, code.RequestParamError, "参数错误")
      return
   }
@@ -293,6 +294,7 @@
// @Security ApiKeyAuth
// @Summary 切换摄像机运行实时或轮询的开关
// @Description 切换摄像机运行实时或轮询的开关
// @Accept x-www-form-urlencoded
// @Produce json
// @Tags camera
// @Param cameraId formData string true "摄像机id"