Commit b9693c3e061579dbdd506b33940856827bbb8727

Authored by 芋道源码
Committed by Gitee
2 parents 172b227f f533a2e7

!111 [异常提示语错误] 文件上传异常提示语错误

Merge pull request !111 from 与或非/hotfix/20220327_msg
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<FtpFileClientConfig> {
44 44 String dir = StrUtil.removeSuffix(filePath, fileName);
45 45 boolean success = ftp.upload(dir, fileName, new ByteArrayInputStream(content));
46 46 if (!success) {
47   - throw new FtpException(StrUtil.format("上海文件到目标目录 ({}) 失败", filePath));
  47 + throw new FtpException(StrUtil.format("上传文件到目标目录 ({}) 失败", filePath));
48 48 }
49 49 // 拼接返回路径
50 50 return super.formatFileUrl(config.getDomain(), path);
... ...