'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); }