주석 변경

This commit is contained in:
yoon 2025-02-03 14:43:54 +09:00
parent 1d3f7d7ddc
commit d3dde19c6a

View File

@ -50,7 +50,7 @@ public class FileService {
// UUID를 사용하여 고유한 파일명 생성
String newFilename = UUID.randomUUID().toString() + "." + extension;
// 최종 저장 경로 생성 (기본경로 + 하위디렉토리 + 파일명)
// 최종 저장 경로 생성 (기본경로 + 파일명)
Path targetPath = Paths.get(uploadPath, newFilename);
// 저장될 디렉토리가 없는 경우 생성
Files.createDirectories(targetPath.getParent());