From f533a2e7c5198aa634db7bb6ff072035458c91d3 Mon Sep 17 00:00:00 2001 From: gaibu <1016771049@qq.com> Date: Sun, 27 Mar 2022 21:31:23 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=8F=90=E7=A4=BA=E8=AF=AD=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/framework/file/core/client/ftp/FtpFileClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-framework/yudao-spring-boot-starter-file/src/main/java/cn/iocoder/yudao/framework/file/core/client/ftp/FtpFileClient.java b/yudao-framework/yudao-spring-boot-starter-file/src/main/java/cn/iocoder/yudao/framework/file/core/client/ftp/FtpFileClient.java index c02b469ff..d50bc8501 100644 --- a/yudao-framework/yudao-spring-boot-starter-file/src/main/java/cn/iocoder/yudao/framework/file/core/client/ftp/FtpFileClient.java +++ b/yudao-framework/yudao-spring-boot-starter-file/src/main/java/cn/iocoder/yudao/framework/file/core/client/ftp/FtpFileClient.java @@ -44,7 +44,7 @@ public class FtpFileClient extends AbstractFileClient { String dir = StrUtil.removeSuffix(filePath, fileName); boolean success = ftp.upload(dir, fileName, new ByteArrayInputStream(content)); if (!success) { - throw new FtpException(StrUtil.format("上海文件到目标目录 ({}) 失败", filePath)); + throw new FtpException(StrUtil.format("上传文件到目标目录 ({}) 失败", filePath)); } // 拼接返回路径 return super.formatFileUrl(config.getDomain(), path);