'use strict'; const patrolReport = require('../../controllers/patrolManage/patrolReport'); module.exports = function (app, router, opts) { app.fs.api.logAttr['GET/patrolReport'] = { content: '获取巡检报告', visible: false }; router.get('/patrolReport', patrolReport.getPatrolReport); app.fs.api.logAttr['DELETE/patrolReport/:id'] = { content: '删除巡检报告', visible: false }; router.delete('/patrolReport/:id', patrolReport.delPatrolReport); };