Authored by weiqingting

提交

... ... @@ -118,8 +118,9 @@ exports.uploadFile = function (req, res) {
});
return;
}
}else{
res.json(errBackMsg);
}
res.json(errBackMsg);
});
} else {
req.body.file = fs.createReadStream(req.files[req.body.filename].path);
... ...