chenendian před 3 měsíci
rodič
revize
9ac743cdf2

+ 1 - 1
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/utils/ServiceFileUtil.java

@@ -102,7 +102,7 @@ public class ServiceFileUtil {
             logger.warn("目录不存在: {}", directoryPath);
             logger.warn("目录不存在: {}", directoryPath);
             throw new ServiceException("目录不存在: "+directoryPath);
             throw new ServiceException("目录不存在: "+directoryPath);
         }
         }
-        directoryPath="/"+file.getFileName();
+        directoryPath+="/"+file.getFileName();
         dirPath = Paths.get(directoryPath);
         dirPath = Paths.get(directoryPath);
         try {
         try {
             Files.copy(file, dirPath, StandardCopyOption.REPLACE_EXISTING);
             Files.copy(file, dirPath, StandardCopyOption.REPLACE_EXISTING);