You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.7 KiB
32 lines
1.7 KiB
'use strict';
|
|
|
|
const operation = require('../../controllers/overview/operation');
|
|
const management = require('../../controllers/overview/management');
|
|
const build = require('../../controllers/overview/building');
|
|
const conserve = require('../../controllers/overview/conserve');
|
|
|
|
module.exports = function (app, router, opts) {
|
|
app.fs.api.logAttr['GET/operation/car_level'] = { content: '获取公交车辆层级信息', visible: false };
|
|
router.get('/operation/car_level', operation.busCarLevelList);
|
|
|
|
app.fs.api.logAttr['GET/manage/overspeed'] = { content: '获取治超详情列', visible: false };
|
|
router.get('/manage/overspeed', management.overSpeedList);
|
|
|
|
app.fs.api.logAttr['GET/manage/overspeed/processed'] = { content: '获取治超监测点处理数据', visible: false };
|
|
router.get('/manage/overspeed/processed', management.overSpeedProcessed);
|
|
|
|
app.fs.api.logAttr['GET/build/road_state'] = { content: '获取道路统计', visible: false };
|
|
router.get('/build/road_state', build.roadState);
|
|
|
|
app.fs.api.logAttr['GET/conserve/statistic'] = { content: '获取道路养护统计及列表', visible: false };
|
|
router.get('/conserve/statistic', conserve.statistic);
|
|
|
|
app.fs.api.logAttr['GET/transportation/statistic'] = { content: '获取运政统计', visible: false };
|
|
router.get('/transportation/statistic', operation.vehicleStatistic);
|
|
|
|
app.fs.api.logAttr['GET/bus/run_realtime'] = { content: '获取公交实时运行信息', visible: false };
|
|
router.get('/bus/run_realtime', operation.busRunRealTime);
|
|
|
|
app.fs.api.logAttr['GET/bus/run/line'] = { content: '获取公交运行路线', visible: false };
|
|
router.get('/bus/run/line', operation.busLine);
|
|
}
|