📅  最后修改于: 2022-03-11 14:49:51.484000             🧑  作者: Mango
const bodyParser = require('body-parser');
...
app.use(bodyParser.urlencoded({ extended: true }));
app.use('/', routes);
module.exports = app;