摘要: const express=require('express'); var server=express(); //目录1:/user/ var routeUser=express.Router(); routeUser.get('/1.html', function (req, res){ //http://xxx.com/user/1.html res.send('user1'); }); r 阅读全文
posted @ 2019-11-06 16:06 LIULIULIU666 阅读(176) 评论(0) 推荐(0) 编辑
摘要: const express=require('express'); const static=require('express-static'); const cookieParser=require('cookie-parser'); const cookieSession=require('cookie-session'); const bodyParser=require('body-par 阅读全文
posted @ 2019-11-06 16:01 LIULIULIU666 阅读(274) 评论(0) 推荐(0) 编辑