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

19 lines
957 B

'use strict';
const roadMaintenance = require('../../controllers/roadMaintenance');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/road/maintenance/cost/query'] = { content: '获取上月道路养护费用', visible: false };
router.get('/road/maintenance/cost/query', roadMaintenance.getLastMonthCost);
app.fs.api.logAttr['GET/road/maintenance/cost/nanchang/query'] = { content: '获取南昌县道路养护费用', visible: false };
router.get('/road/maintenance/cost/nanchang/query', roadMaintenance.getConcatData);
app.fs.api.logAttr['GET/road/maintenance'] = { content: '获取南昌县道路养护数据', visible: false };
router.get('/road/maintenance', roadMaintenance.getRoadMaintenanceList);
app.fs.api.logAttr['POST/road/maintenance'] = { content: '更新南昌县道路养护数据', visible: false };
router.post('/road/maintenance', roadMaintenance.updateRoadMaintenanceList);
}