Results 5 comments of kelaocai

have the same issue on my mac pro m1, Here's how I solved it: It must have something to do with the local sock5 proxy configuration. I used clashx and...

ERROR: Could not build wheels for functools, which is required to install pyproject.toml-based projects

> 辛苦提供代码片段以及加水印的请求响应 requestId。在响应头中复制 x-cos-request-id 字段 Headers: { 'Pic-Operations': JSON.stringify(picOperations) } 传的是 Headers,SDK 只处理了 Authorization、x-cos-security-token 等,没有把自定义头部合并进去。 现在改成分两步实现,先上传图片,再调用this.cos.request加水印 async addWatermark(options) { const { file, cosKey: inputCosKey, cosUrl, watermarkText, watermarkLevel } = options;...

> 您之前使用的上传时添加水印,是不是调用的 postObject。 postObject本身是不支持上传时添加的,只有 putObject 和分块上传支持。 一直用的putObject