Browse Source

获取路段api修改

dev
liujiangyong 1 year ago
parent
commit
5c49318d5b
  1. 2
      api/app/lib/controllers/data/road.js

2
api/app/lib/controllers/data/road.js

@ -93,7 +93,7 @@ async function getRoadSection (ctx) {
let findOption = {
where: {},
order: [['id', 'DESC']],
attributes: ['id', 'routeName', 'startingPlaceName', 'stopPlaceName', 'routeCode', 'sectionNo']
attributes: ['id', 'routeName', 'startingPlaceName', 'stopPlaceName', 'routeCode', 'sectionNo', 'level']
}
if (level) {

Loading…
Cancel
Save