'use strict'; const Roadadministration = require('../../controllers/luzheng') module.exports = function (app, router, opts) { app.fs.api.logAttr['GET/getRoadadministration'] = { content: '获取路政数据', visible: false }; router.get('/getRoadadministration', Roadadministration.getRoadadministration); app.fs.api.logAttr['POST/addRoadadministration'] = { content: '增加路政数据', visible: true }; router.post('/addRoadadministration', Roadadministration.addRoadadministration(opts)); app.fs.api.logAttr['DEL/delRoadadministration/:id'] = { content: '删除路政数据', visible: true }; router.del('/delRoadadministration/:id', Roadadministration.delRoadadministration(opts)) // // 修改健康体检 app.fs.api.logAttr['PUT/editRoadadministration/:id'] = { content: '修改路政数据', visible: true }; router.put('/editRoadadministration/:id', Roadadministration.editRoadadministration(opts)) };