|
|
@@ -64,12 +64,6 @@ module.exports = app => {
|
|
|
item.orginpath = this.ctx.app.config.fujianOssPath + item.filepath;
|
|
|
item.filepath = this.ctx.app.config.fujianOssPath + item.filepath;
|
|
|
item.viewpath = this.ctx.helper.getPreviewPath(item.fileext, item.filepath);
|
|
|
- delete item.filepath;
|
|
|
- // if (!this.ctx.helper.canPreview(item.fileext)) {
|
|
|
- // item.filepath = `/tender/${this.ctx.tender.id}/measure/stage/${this.ctx.params.order}/download/file/${item.id}`;
|
|
|
- // } else {
|
|
|
- // item.filepath = this.ctx.app.config.fujianOssPath + item.filepath;
|
|
|
- // }
|
|
|
item.in_time = this.ctx.moment(item.in_time * 1000).format('YYYY-MM-DD');
|
|
|
});
|
|
|
}
|