...
|
...
|
@@ -53,6 +53,7 @@ exports.uploadFile = function (req, res) { |
|
|
|
|
|
if (req.body.__type == "batch-import") {
|
|
|
req.body.file = fs.createReadStream(req.files[req.body.filename].path);
|
|
|
console.log(domain + '/batch/import?' + url.join("&"))
|
|
|
request.post({
|
|
|
url: domain + '/batch/import?' + url.join("&"),
|
|
|
formData: req.body,
|
...
|
...
|
|