摘要: .use适用与为当前路由器加入中间件和子路由 .http动词( get、post )方法适用于为当前路由器添加路径处理器 .all匹配任意的http动词方法( get、post方法都会被监听 ) 中间件是通过use这种方法添加的 1. 关于.use方法 功能一:定义中间件( use定义中间件,get 阅读全文
posted @ 2016-02-15 10:58 Sampson1207 阅读(137) 评论(0) 推荐(0) 编辑