'use strict'; const report = require('../../controllers/salePerformance'); module.exports = function (app, router, opts) { app.fs.api.logAttr['GET/salePerformance'] = { content: '业绩汇总表', visible: false }; router.get('/salePerformance', report.getSalePerformance); app.fs.api.logAttr['POST/importSalePerformance'] = { content: '业绩汇总表', visible: true }; router.post('/importSalePerformance', report.importSalePerformance); };