|
|
@@ -103,8 +103,8 @@ public class ServiceFileUtil {
|
|
|
throw new ServiceException("目录不存在: "+directoryPath);
|
|
|
}
|
|
|
try {
|
|
|
- //Files.copy(file, dirPath, StandardCopyOption.REPLACE_EXISTING);
|
|
|
- Files.move(file, dirPath, StandardCopyOption.REPLACE_EXISTING);
|
|
|
+ Files.copy(file, dirPath, StandardCopyOption.REPLACE_EXISTING);
|
|
|
+ //Files.move(file, dirPath, StandardCopyOption.REPLACE_EXISTING);
|
|
|
} catch (IOException e) {
|
|
|
throw new RuntimeException(e);
|
|
|
}
|