7 lines
155 B
JavaScript
7 lines
155 B
JavaScript
// 路由配置,只需写控制器类和方法名
|
|
const routes = [
|
|
{ method: 'GET', path: '/', controller: 'index.index' },
|
|
];
|
|
|
|
export default routes
|