|
@ -33,10 +33,8 @@ async function getCameraProject (ctx, next) { |
|
|
attributes: ['token'] |
|
|
attributes: ['token'] |
|
|
}, { |
|
|
}, { |
|
|
model: models.CameraRemark, |
|
|
model: models.CameraRemark, |
|
|
attributes: ['remark'], |
|
|
attributes: ['id', 'remark'], |
|
|
order: [ |
|
|
order: ['id'] |
|
|
['id', 'DESC'] |
|
|
|
|
|
], |
|
|
|
|
|
}], |
|
|
}], |
|
|
distinct: true |
|
|
distinct: true |
|
|
} |
|
|
} |
|
|