摘要: 1.引入http模块 const http = require('http'); 2.配置端口 const config = { port: 8003 }; 3.创建服务 const server = http.createServer(function (req, res) { console.l 阅读全文
posted @ 2020-08-19 17:51 ㊀觉睡到小时候 阅读(120) 评论(0) 推荐(0)