From ae75f31ebd771d4c915299aaafa848b01dd3b829 Mon Sep 17 00:00:00 2001 From: ghvfgfcht Date: Fri, 3 May 2024 22:03:51 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20FEAT.=20savePhotos=20=EB=A9=94?= =?UTF-8?q?=EC=84=9C=EB=93=9C=20=EB=A7=A4=EA=B0=9C=EB=B3=80=EC=88=98=20use?= =?UTF-8?q?r=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tbd/domain/faceSwap/service/PhotoUploadServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/fairytale/tbd/domain/faceSwap/service/PhotoUploadServiceImpl.java b/src/main/java/fairytale/tbd/domain/faceSwap/service/PhotoUploadServiceImpl.java index 89a3c69..dcb2d8d 100644 --- a/src/main/java/fairytale/tbd/domain/faceSwap/service/PhotoUploadServiceImpl.java +++ b/src/main/java/fairytale/tbd/domain/faceSwap/service/PhotoUploadServiceImpl.java @@ -3,6 +3,7 @@ import fairytale.tbd.domain.faceSwap.entity.Uuid; import fairytale.tbd.domain.faceSwap.repository.UuidRepository; import fairytale.tbd.domain.faceSwap.web.dto.FaceDetectRequestDto; +import fairytale.tbd.domain.user.entity.User; import fairytale.tbd.global.aws.s3.AmazonS3Manager; import org.springframework.transaction.annotation.Transactional; import lombok.RequiredArgsConstructor; @@ -24,7 +25,7 @@ public class PhotoUploadServiceImpl implements PhotoUploadService { @Override @Transactional - public FaceDetectRequestDto savePhotos(MultipartFile file) throws IOException { + public FaceDetectRequestDto savePhotos(User userId, MultipartFile file) throws IOException { String imgURL = ""; String uuid = UUID.randomUUID().toString(); @@ -42,4 +43,4 @@ public FaceDetectRequestDto savePhotos(MultipartFile file) throws IOException { return faceDetectRequestDto; } -} +} \ No newline at end of file