1.0.1 • Published 6 years ago
koa-action-decorator v1.0.1
koa-action-decorator
1. 安装
npm install koa-action-decorator
2. 配置
import {Router} from 'koa-action-decorator'
let router = Router({
controllerDir: `[controller目录]`
})
app.use(router.routes())