From aab3ef89d0edc8581d14728c47fe819de5ede2e9 Mon Sep 17 00:00:00 2001 From: lixiaoming-bit <1404241558@qq.com> Date: Fri, 12 Aug 2022 10:16:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dcos=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E7=9A=84=E6=98=AF=E4=B8=B4=E6=97=B6=E9=93=BE=E6=8E=A5=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E5=9B=BE=E7=89=87=E5=8A=A0=E8=BD=BD403?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/server/src/helpers/file.helper/tencent.client.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/server/src/helpers/file.helper/tencent.client.ts b/packages/server/src/helpers/file.helper/tencent.client.ts index 3ecb26d..909c1f3 100644 --- a/packages/server/src/helpers/file.helper/tencent.client.ts +++ b/packages/server/src/helpers/file.helper/tencent.client.ts @@ -78,7 +78,7 @@ export class TencentOssClient extends BaseOssClient { if (err) { resolve(false); } else { - this.client.getObjectUrl(params, (err, data) => { + this.client.getObjectUrl({ ...params, Sign: false }, (err, data) => { if (err) { reject(err); } else { @@ -114,7 +114,7 @@ export class TencentOssClient extends BaseOssClient { if (err) { reject(err); } - this.client.getObjectUrl(params, (err, data) => { + this.client.getObjectUrl({ ...params, Sign: false }, (err, data) => { if (err) { reject(err); } else { @@ -193,7 +193,7 @@ export class TencentOssClient extends BaseOssClient { if (err) { reject(err); } else { - this.client.getObjectUrl(params, (err, data) => { + this.client.getObjectUrl({ ...params, Sign: false }, (err, data) => { if (err) { reject(err); } else {