cool-admin-api/app/router.ts
2019-09-28 16:12:42 +08:00

7 lines
147 B
TypeScript

import { Application } from 'egg';
import { initRouter } from '../app/lib/router';
export default (app: Application) => {
initRouter(app);
};