Browse Source

CameraStatusPushMonitor del

release_1.1.2
巴林闲侠 3 years ago
parent
commit
3ee9869fd6
  1. 3
      code/VideoAccess-VCMP/api/app/lib/controllers/camera/index.js

3
code/VideoAccess-VCMP/api/app/lib/controllers/camera/index.js

@ -313,7 +313,8 @@ async function del (ctx) {
await models.CameraStatusPushMonitor.destroy({ await models.CameraStatusPushMonitor.destroy({
where: { where: {
cameraId: cameraId cameraId: cameraId
} },
transaction
}) })
await models.CameraAbilityBind.destroy({ await models.CameraAbilityBind.destroy({
where: { where: {

Loading…
Cancel
Save