//导入body-parser模块
const bodyParser = require("body-parser");
//将模块注册上app实例上
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());
//导入body-parser模块
const bodyParser = require("body-parser");
//将模块注册上app实例上
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());