中间件是一个对于项目中传递对象的控制器 app.register()是在原有的express()中注册方法,或是解析方式 例如: app.register('.html',require('ejs'));//注册解析方式