npm install koa2-formidable --save
const formidable = require('koa2-formidable')
const Koa = require('koa')
const app = new Koa()
app.use(formidable (opt))
opt is formidable options.
let { body, files } = ctx.request
npm install koa2-formidable --save
const formidable = require('koa2-formidable')
const Koa = require('koa')
const app = new Koa()
app.use(formidable (opt))
opt is formidable options.
let { body, files } = ctx.request