'use strict'; const report = require('../../controllers/report'); const achieve = require('../../controllers/report/achievement'); module.exports = function (app, router, opts) { app.fs.api.logAttr['GET/reserveItem/report/:type'] = { content: '查询储备项目统计表', visible: false }; router.get('/reserveItem/report/:type', report.getReserveItemReport); app.fs.api.logAttr['GET/sales/member/list'] = { content: '查询销售人员分布明细表', visible: false }; router.get('/sales/member/list', report.getSalersReport); app.fs.api.logAttr['GET/received/detail'] = { content: '查询回款明细表', visible: false }; router.get('/received/detail', achieve.getReceivedDetail); };