'use strict'; // 路由配置 const path = require('path'); const regPath = path.resolve('app', 'public', 'routerRegister'); const routerRegister = require(regPath); const rkey = 'statistics'; const ckey = 'statistics'; const keyZh = '统计'; const routes = [{ method: 'get', path: `${rkey}/schoolTotalIn`, controller: `${ckey}.schoolTotalIn`, name: `${ckey}schoolTotalIn`, zh: `${keyZh}-羽校总收入` }]; module.exports = app => { routerRegister(app, routes, keyZh, rkey, ckey); };