'use strict'; const operation = require('../../controllers/overview/operation'); const management = require('../../controllers/overview/management'); const build = require('../../controllers/overview/building'); 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); // 领导驾驶 // 养护 }