摘要: 先安装mysql模块 使用 const mysql=require('mysql') //引入 var connection=mysql.createConnection({ //创建连接 host:'localhost', user:'root', password:'root', databas 阅读全文
posted @ 2021-07-05 10:37 终末s 阅读(85) 评论(0) 推荐(0)
摘要: express中文网 引入(先下载) const express = require('express') 使用 const app = express() //创建服务器 app.get('/',function(req,res){ //get请求 res.send('你好 express') / 阅读全文
posted @ 2021-07-05 09:21 终末s 阅读(118) 评论(0) 推荐(0)