From 35a623f6223caabd5b0a33f461c8f8afff2d820b Mon Sep 17 00:00:00 2001 From: jmal Date: Wed, 12 Apr 2023 20:53:54 +0800 Subject: [PATCH] =?UTF-8?q?oss=E4=BC=98=E5=8C=96=E5=85=B1=E4=BA=AB?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/file-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/file-config.js b/src/utils/file-config.js index a3407db..cb3d893 100644 --- a/src/utils/file-config.js +++ b/src/utils/file-config.js @@ -76,7 +76,7 @@ export default { if (!shareToken) { shareToken = "none" } - return window.location.origin + `${this.baseUrl}/public/s/downloadfileId=${file.id}&shareId=${shareId}&shareToken=${shareToken}` + return window.location.origin + `${this.baseUrl}/public/s/download?fileId=${file.id}&shareId=${shareId}&shareToken=${shareToken}` }, // 共享文件打包下载Url publicPackageDownloadUrl: function(shareId, fileIds, shareToken) {