Skip to content

Commit 3bb76a5

Browse files
committed
fix : logging
1 parent f762184 commit 3bb76a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/bssm/attachit/domain/attachment/service/FileSaveUtil.java

+2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ public String save(MultipartFile file) {
2323
Path path = fileProperties.getPath().resolve(
2424
Paths.get(fileName)
2525
.normalize());
26+
System.out.println(path);
2627
Files.copy(file.getInputStream(), path, StandardCopyOption.REPLACE_EXISTING);
28+
System.out.println("ok");
2729
return String.format("%s/%s", fileProperties.getPath(), fileName);
2830
} catch (IOException e) {
2931
throw FileException.EXCEPTION;

0 commit comments

Comments
 (0)