Open zhangguixu opened 8 years ago
middleware: function(connect, options, middlewares) { middlewares.unshift(function(req, res){ // i want to get parameters in req,how can i do that? req.params? }); return middlewares; }