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"