statistics.js 490 B

12345678910111213
  1. 'use strict';
  2. // 路由配置
  3. const path = require('path');
  4. const regPath = path.resolve('app', 'public', 'routerRegister');
  5. const routerRegister = require(regPath);
  6. const rkey = 'statistics';
  7. const ckey = 'statistics';
  8. const keyZh = '统计';
  9. const routes = [{ method: 'get', path: `${rkey}/schoolTotalIn`, controller: `${ckey}.schoolTotalIn`, name: `${ckey}schoolTotalIn`, zh: `${keyZh}-羽校总收入` }];
  10. module.exports = app => {
  11. routerRegister(app, routes, keyZh, rkey, ckey);
  12. };