安装cnpm install --save koa-bodyparser@3 2.引入 constbodyparser = require('koa-bodyparser') app.use(bodyparser()) 3.直接把自己写的方法改成ctx.request.body.
確定! 回上一頁