Jelajahi Sumber

修改日志

tianboguang 2 tahun lalu
induk
melakukan
87093d944d

+ 1 - 1
4dkankan-utils-fyun-local/src/main/java/com/fdkankan/fyun/local/LocalFileService.java

@@ -62,7 +62,7 @@ public class LocalFileService extends AbstractFYunFileService {
         try {
             String optType = new File(filePath).isDirectory() ? "folder" : "file";
             String command = String.format(fYunConstants.DOWNLOAD_SH, bucket, filePath, remoteFilePath, FYunTypeEnum.LOCAL.code(), optType);
-            log.info("开始上传文件, ossPath:{}, srcPath:{}", remoteFilePath, filePath);
+            log.info("开始下载文件, ossPath:{}, srcPath:{}", remoteFilePath, filePath);
             callshell(command);
         } catch (Exception e) {
             log.error("上传文件失败, ossPath:{}, srcPath:{}", remoteFilePath, filePath);

+ 1 - 1
4dkankan-utils-fyun-oss/src/main/java/com/fdkankan/fyun/oss/OssFileService.java

@@ -95,7 +95,7 @@ public class OssFileService extends AbstractFYunFileService {
         try {
             String optType = new File(filePath).isDirectory() ? "folder" : "file";
             String command = String.format(fYunConstants.DOWNLOAD_SH, bucket, remoteFilePath, filePath, FYunTypeEnum.OSS.code(), optType);
-            log.info("开始上传文件, ossPath:{}, srcPath:{}", remoteFilePath, filePath);
+            log.info("开始下载文件, ossPath:{}, srcPath:{}", remoteFilePath, filePath);
             callshell(command);
         } catch (Exception e) {
             log.error("上传文件失败, ossPath:{}, srcPath:{}", remoteFilePath, filePath);

+ 1 - 1
4dkankan-utils-fyun-s3/src/main/java/com/fdkankan/fyun/s3/S3FileService.java

@@ -104,7 +104,7 @@ public class S3FileService extends AbstractFYunFileService {
         try {
             String optType = new File(filePath).isDirectory() ? "folder" : "file";
             String command = String.format(fYunConstants.DOWNLOAD_SH, bucket, remoteFilePath, filePath, FYunTypeEnum.AWS.code(), optType);
-            log.info("开始上传文件, ossPath:{}, srcPath:{}", remoteFilePath, filePath);
+            log.info("开始下载文件, ossPath:{}, srcPath:{}", remoteFilePath, filePath);
             callshell(command);
         } catch (Exception e) {
             log.error("上传文件失败, ossPath:{}, srcPath:{}", remoteFilePath, filePath);