oss接通了80端口,还没有接通https,先用

This commit is contained in:
2026-07-02 16:13:45 +08:00
parent ff4622ff6c
commit 4b2589156c
5 changed files with 351 additions and 30 deletions
@@ -97,6 +97,9 @@ export class OssAliyunProvider implements IOssProvider {
const ossKey = buildOssObjectKey(this.uploadPrefix, input.bizType, input.fileName);
await client.put(ossKey, input.buffer, {
mime: input.mimeType || 'application/octet-stream',
headers: {
'Content-Disposition': 'inline',
},
});
return {
bucket: this.bucket,