|
@@ -639,7 +639,7 @@ module.exports = app => {
|
|
|
const fileInfo = path.parse(stream.filename);
|
|
|
const create_time = Date.parse(new Date()) / 1000;
|
|
|
const filepath = `app/public/upload/change/fujian_${create_time + index.toString() + fileInfo.ext}`;
|
|
|
- await ctx.helper.saveStreamFile(stream, path.resolve(this.app.baseDir, 'app', filepath));
|
|
|
+ await ctx.helper.saveStreamFile(stream, path.resolve(this.app.baseDir, filepath));
|
|
|
await sendToWormhole(stream);
|
|
|
// 保存数据到att表
|
|
|
const fileData = {
|