var form = new formidable.IncomingForm();
form.parse(req, function(err, fields, files) {
console.log({fields: fields, files: files});
});
var form = new formidable.IncomingForm();
form.parse(req, function(err, fields, files) {
console.log({fields: fields, files: files});
});
转载于:https://www.cnblogs.com/benpaodexiaopangzi/p/5885442.html