controllers/camera.go
@@ -260,8 +260,8 @@ // @Description 切换摄像机运行实时或轮询的开关 // @Produce json // @Tags camera // @Param cameraId query string true "摄像机id" // @Param runEnable query bool true "开启:true,关闭:false" // @Param cameraId formData string true "摄像机id" // @Param runEnable formData bool true "开启:true,关闭:false" // @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/updateRunEnable [post]