Skip to content
Main Navigation
nodejs全栈学习
nodejs
express
mongodb
mongoose
mysql
sequlize
nestjs
typescript
docker
必备技能
Git
Linux
英语口语
服务器
域名解析
ssh配置
宝塔面板
Appearance
Menu
Return to top
On this page
Express
中间件
Express的中间件,本质上就是一个function处理函数
中间件函数的形参列表,必须包含next参数,而路由函数形参列表中只包含req,res