From b712f1c2c44042c74a6d98e65273ea5d4c1cbe7d Mon Sep 17 00:00:00 2001 From: xuyuxiang Date: Sun, 15 Jun 2025 23:29:51 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E4=B8=80=E4=B8=AA=E6=BC=8F=E5=90=8C=E6=AD=A5=E7=9A=84?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dev/modular/file/service/impl/DevFileServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snowy-plugin/snowy-plugin-dev/src/main/java/vip/xiaonuo/dev/modular/file/service/impl/DevFileServiceImpl.java b/snowy-plugin/snowy-plugin-dev/src/main/java/vip/xiaonuo/dev/modular/file/service/impl/DevFileServiceImpl.java index 0c864f2d..995111cf 100644 --- a/snowy-plugin/snowy-plugin-dev/src/main/java/vip/xiaonuo/dev/modular/file/service/impl/DevFileServiceImpl.java +++ b/snowy-plugin/snowy-plugin-dev/src/main/java/vip/xiaonuo/dev/modular/file/service/impl/DevFileServiceImpl.java @@ -280,7 +280,7 @@ public class DevFileServiceImpl extends ServiceImpl impl throw new CommonException("后端域名地址未正确配置:snowy.config.common.backend-url为空"); } if (BooleanUtil.isTrue(isDownloadAuth)){ - downloadUrl= apiUrl + "/dev/file/authDownload?id=" + fileId + "&tenCode=" + tenApi.getCurrentTenCode() + "&token="; + downloadUrl= apiUrl + "/dev/file/authDownload?id=" + fileId + "&token="; }else { downloadUrl= apiUrl + "/dev/file/download?id=" + fileId; } @@ -292,7 +292,7 @@ public class DevFileServiceImpl extends ServiceImpl impl // if(ObjectUtil.isEmpty(apiUrl)) { // throw new CommonException("后端域名地址未正确配置:snowy.config.common.backend-url为空"); // } -// downloadUrl= apiUrl + "/dev/file/download?id=" + fileId + "&tenCode=" + tenApi.getCurrentTenCode(); +// downloadUrl= apiUrl + "/dev/file/download?id=" + fileId; // devFile.setDownloadPath(downloadUrl); // } else { // // 阿里云、腾讯云、MINIO可以直接使用存储地址(公网)作为下载地址