Authored by 郭成尧

fixed-bug

... ... @@ -101,7 +101,7 @@ const file = {
return ctx.body = {
code: 400,
message: '请指定路径'
};
};
}
await new FileApi().upload(file, actPath, user);
... ... @@ -139,7 +139,7 @@ const file = {
}
let readable = fs.createReadStream(file.path);
let config = CDNCONFIG.main;
let config = _.cloneDeep(CDNCONFIG.main);
if (cover) {
_.assign(config, {
... ...