@ -123,7 +123,10 @@ async function getNvrSteam (ctx) {
},
include: [{
model: models.CameraRemark,
attributes: ['remark']
attributes: ['remark'],
order: [
['id', 'DESC']
],
}],
})
@ -424,7 +427,10 @@ async function getCascadeSteam (ctx) {
@ -33,7 +33,10 @@ async function getCameraProject (ctx, next) {
attributes: ['token']
}, {
distinct: true
}