摘要:
1 var express = require("express"); 2 var router = express(); 3 4 router.get('/', function (req, res) { 5 res.render('articles', {titles: '文章页', content: '这是文章页的内容,method==' + req.method});... 阅读全文
摘要:
路由中间件必须通过app挂载到对应的路由上,如: 阅读全文