0.7.4 • Published 7 years ago
express-autoload-route v0.7.4
自动路由加载器
参数
homePath
必填
在req.path === ' ' || req.path === '/' 时跳转的路径
controllerPath
必填
路由controller路径
controllerFilePostfix
选填
controller文件的后缀
默认为'.controller'
Test.controller.js
在req.path === ' ' || req.path === '/' 时跳转的路径
路由controller路径
controller文件的后缀
默认为'.controller'
Test.controller.js