一、回顾了new Date().getFullYear() 方法返回年份 如2019。post
二、http模块引入 http.createServer(function(req, res){}).listen()url
res.write()blog
res.end()get
req.url//地址栏请求路径string
能够经过判断req.url是什么返回什么页面it
fs.readFIle(patch,(err, data) =>{})io
res.write(data) 直接返回读取到的文件function
三、url模块和querystring模块请求
获取post数据方法
四、adduser login publish who am i几个发布命令