주석 변경
This commit is contained in:
parent
1d3f7d7ddc
commit
d3dde19c6a
@ -50,7 +50,7 @@ public class FileService {
|
||||
// UUID를 사용하여 고유한 파일명 생성
|
||||
String newFilename = UUID.randomUUID().toString() + "." + extension;
|
||||
|
||||
// 최종 저장 경로 생성 (기본경로 + 하위디렉토리 + 파일명)
|
||||
// 최종 저장 경로 생성 (기본경로 + 파일명)
|
||||
Path targetPath = Paths.get(uploadPath, newFilename);
|
||||
// 저장될 디렉토리가 없는 경우 생성
|
||||
Files.createDirectories(targetPath.getParent());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user