标签:dem 分享 abc node ejs 2-2 nod col log
demo
/** * Created by ZXW on 2017/11/6. */ var express=require("express"); var server=express(); server.use("/a.html",function(req,res) { res.send("cda"); res.end(); }); server.use("/b.html",function(req,res) { res.send("abc"); res.end(); }); server.listen(4000);
效果:
标签:dem 分享 abc node ejs 2-2 nod col log
原文地址:http://www.cnblogs.com/guangzhou11/p/7794618.html