Merge branch hotfix/v5.6.2 into release/v6.0.0

This commit is contained in:
papacarlo
2020-08-07 08:14:13 +00:00

View File

@ -1124,6 +1124,7 @@ exports.saveFile = function(req, res) {
}
cmd.setStatusInfo(constants.NO_ERROR);
yield* addRandomKeyTaskCmd(cmd);
cmd.setOutputPath(constants.OUTPUT_NAME + pathModule.extname(cmd.getOutputPath()));
yield storage.putObject(cmd.getSaveKey() + '/' + cmd.getOutputPath(), req.body, req.body.length);
let replyStr = yield* commandSfcCallback(cmd, false, true);
if (replyStr) {