Authored by weiqingting

提交

@@ -99,7 +99,7 @@ exports.uploadFile = function (req, res) { @@ -99,7 +99,7 @@ exports.uploadFile = function (req, res) {
99 } 99 }
100 res.json({ 100 res.json({
101 code: 200, 101 code: 200,
102 - data: datas, 102 + data: flag?datas:datas[0],
103 names: req.body.fileNames, 103 names: req.body.fileNames,
104 message: '上传成功', 104 message: '上传成功',
105 status: true 105 status: true