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.

11 lines
476 B

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