安装mysql插件: npm install mysql --save-dev var express = require("express");//引入express var router = express.Router();//注意Router首字母大写 var mysql = require Read More
安装: npm install cors --save npm install body-parser --save 使用: var express = require('express'); var app = express();//创建express实例 var cors = require( Read More