Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
weiqingting
2016-06-16 09:36:21 +0800
Commit
2348a6fddb39cacdadb19c59a7431011fae1f9bb
1 parent
c8484b37
提交
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
server/stub/service/upload.js
server/stub/service/upload.js
View file @
2348a6f
...
...
@@ -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
);
...
...
Please
register
or
login
to post a comment