554325746@qq.com
2019-12-23 0222e79afe45d9fc55aed9a7e62ca239c228ab73
controllers/camera.go
@@ -294,6 +294,7 @@
// @Security ApiKeyAuth
// @Summary 切换摄像机运行实时或轮询的开关
// @Description 切换摄像机运行实时或轮询的开关
// @Accept x-www-form-urlencoded
// @Produce json
// @Tags camera
// @Param cameraId formData string true "摄像机id"
@@ -338,7 +339,10 @@
      util.ResponseFormat(c, code.ComError, "更新失败")
        return 
    }
    util.ResponseFormat(c, code.Success, filename)
    util.ResponseFormat(c, code.Success, map[string]string{
       "cameraId": cid,
       "snapshotUrl": filename,
   })
type CameraChangeRunVo struct {