Skip to content

Commit

Permalink
fix : logging
Browse files Browse the repository at this point in the history
  • Loading branch information
NameIsUser06 committed Dec 28, 2023
1 parent 1553f65 commit 648d549
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ public class FileSaveUtil {
public String save(MultipartFile file) {
try {

System.out.println(new String(Base64.getDecoder().decode(file.getBytes())));

System.out.println(file);
System.out.println(file.getOriginalFilename());
System.out.println(file.getInputStream());
System.out.println(file.getResource());
// 파일 이름 생성 (UUID와 클라이언트에서 전송한 파일 이름 조합)
String fileName = UUID.randomUUID().toString().replace("-", "") + "_" + file.getOriginalFilename();

Expand Down

0 comments on commit 648d549

Please sign in to comment.