Browse Source

视频备注 100%

release_0.0.2
巴林闲侠 2 years ago
parent
commit
c079740238
  1. 6
      code/VideoAccess-VCMP/api/app/lib/controllers/camera/index.js

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

@ -187,6 +187,12 @@ async function getCamera (ctx) {
model: models.GbCamera, model: models.GbCamera,
attributes: ['id', 'online', 'playUrl'], attributes: ['id', 'online', 'playUrl'],
required: false required: false
}, {
model: models.CameraRemark,
attributes: ['remark'],
order: [
['id', 'DESC']
],
}] }]
}) })

Loading…
Cancel
Save