berwin/aliyun-oss-upload-stream

参数不全

ccqgithub opened this issue · 2 comments

   // 初始化MultipartUpload
  createMultipartUpload({
    Bucket: destinationDetails.Bucket,
    Key: destinationDetails.Key
  });

只支持两个参数,建议能传入其他的参数,如:

  oss.createMultipartUpload({
  ACL: 'public-read',
  Bucket: bucket,
  Key: fileKey,
  ContentType: 'audio/mpeg',
  ContentDisposition: ''
  //CacheControl: '',
  //ContentEncoding: '',
  //Expires: '',
  //ServerSideEncryption: ''
})

不好意思哈。我刚刚玩了一下把commit直接push到issue的功能。
你的问题已经修复修复参数不全问题
非常感谢你能发现问题并及时通知我~

哈哈,发现了~~