midway icon indicating copy to clipboard operation
midway copied to clipboard

上传oss0kb

Open zzfn opened this issue 3 years ago • 1 comments

  @Post('/upload')
  async upload(@Files() files) {
    const result = await Promise.all(
      files.map(file =>
        this.ossService.put(`midway/${file.filename}`, file.data)
      )
    );
    return result.map(file => file.url);
  }

部分文件使用stream上传为0kb,使用file正常

zzfn avatar Sep 09 '22 09:09 zzfn

部分文件。。。是什么文件?

czy88840616 avatar Sep 14 '22 12:09 czy88840616

8f8d3a857010b628790a6cf9e5a2dfb1

zzfn avatar Sep 23 '22 01:09 zzfn

部分文件。。。是什么文件?

这个图0kb 有的图可以,有的图不行, 是图片原因吗

zzfn avatar Sep 23 '22 01:09 zzfn

问题在我本机已经复现了,我调试修复一下

echosoar avatar Oct 10 '22 10:10 echosoar

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Aug 21 '23 08:08 github-actions[bot]