12345678910111213 |
- 'use strict';
- // 路由配置
- const path = require('path');
- const regPath = path.resolve('app', 'public', 'routerRegister');
- const routerRegister = require(regPath);
- const rkey = 'viewUser';
- const ckey = 'view.user';
- const keyZh = '用户相关视图';
- const routes = [{ method: 'get', path: `${rkey}/toDeal`, controller: `${ckey}.toDeal`, name: `${ckey}toDeal`, zh: '用户-订单相关未处理统计' }];
- module.exports = app => {
- routerRegister(app, routes, keyZh, rkey, ckey);
- };
|