Browse Source

小程序-巡查养护列表建议按照上报时间降序展示

dev
巴林闲侠 3 years ago
parent
commit
a1dbd74f50
  1. 1
      api/app/lib/controllers/report/index.js

1
api/app/lib/controllers/report/index.js

@ -14,6 +14,7 @@ async function reportList(ctx) {
model: models.User,
attributes: ['name']
}],
order: [['time', 'DESC']],
}
if (limit) {
findOption.limit = limit

Loading…
Cancel
Save