四好公路
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

3 years ago
'use strict';
const operation = require('../../controllers/overview/operation');
const management = require('../../controllers/overview/management');
const build = require('../../controllers/overview/building');
3 years ago
const conserve = require('../../controllers/overview/conserve');
3 years ago
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);
3 years ago
app.fs.api.logAttr['GET/conserve/statistic'] = { content: '获取道路养护统计及列表', visible: false };
router.get('/conserve/statistic', conserve.statistic);
3 years ago
3 years ago
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);
3 years ago
}