Browse Source

CameraListAll order

release_1.3.0
巴林闲侠 2 years ago
parent
commit
35606216fb
  1. 1
      code/VideoAccess-VCMP/api/app/lib/controllers/camera/index.js

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

@ -265,6 +265,7 @@ async function getCameraListAll (ctx) {
const cameraRes = await models.Camera.findAll({
attributes: { exclude: ['delete', 'recycleTime', 'rtmp', 'createUserId', 'nvrId', 'kindId', 'yingshiSecretId', 'gbId'] },
order: [['id', 'DESC']],
where: {
delete: false,
recycleTime: null,

Loading…
Cancel
Save