From 8fc2c4cf9d68f46d176197e60691c8a7eb12a7a1 Mon Sep 17 00:00:00 2001 From: somsom13 Date: Sat, 21 May 2022 01:27:10 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20move:=20=EC=98=81=EC=83=81?= =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20service=20=ED=8C=A8=ED=82=A4?= =?UTF-8?q?=EC=A7=80=20=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/example/backend/video/VideoController.java | 2 ++ .../backend/video/{ => service}/VideoCommentService.java | 2 +- .../com/example/backend/video/{ => service}/VideoService.java | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) rename src/main/java/com/example/backend/video/{ => service}/VideoCommentService.java (98%) rename src/main/java/com/example/backend/video/{ => service}/VideoService.java (98%) diff --git a/src/main/java/com/example/backend/video/VideoController.java b/src/main/java/com/example/backend/video/VideoController.java index 080b3b3..02684e5 100644 --- a/src/main/java/com/example/backend/video/VideoController.java +++ b/src/main/java/com/example/backend/video/VideoController.java @@ -9,6 +9,8 @@ import com.example.backend.video.domain.Video; import com.example.backend.video.domain.VideoComment; import com.example.backend.video.dto.*; +import com.example.backend.video.service.VideoCommentService; +import com.example.backend.video.service.VideoService; import lombok.RequiredArgsConstructor; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; diff --git a/src/main/java/com/example/backend/video/VideoCommentService.java b/src/main/java/com/example/backend/video/service/VideoCommentService.java similarity index 98% rename from src/main/java/com/example/backend/video/VideoCommentService.java rename to src/main/java/com/example/backend/video/service/VideoCommentService.java index 6b623d4..7e24392 100644 --- a/src/main/java/com/example/backend/video/VideoCommentService.java +++ b/src/main/java/com/example/backend/video/service/VideoCommentService.java @@ -1,4 +1,4 @@ -package com.example.backend.video; +package com.example.backend.video.service; import com.example.backend.video.domain.VideoComment; import com.example.backend.video.dto.VideoCommentsResponse; diff --git a/src/main/java/com/example/backend/video/VideoService.java b/src/main/java/com/example/backend/video/service/VideoService.java similarity index 98% rename from src/main/java/com/example/backend/video/VideoService.java rename to src/main/java/com/example/backend/video/service/VideoService.java index 1da511e..81c3ad1 100644 --- a/src/main/java/com/example/backend/video/VideoService.java +++ b/src/main/java/com/example/backend/video/service/VideoService.java @@ -1,4 +1,4 @@ -package com.example.backend.video; +package com.example.backend.video.service; import com.example.backend.customHashtag.CustomHashtag; import com.example.backend.customHashtag.CustomHashtagRepository; @@ -6,6 +6,7 @@ import com.example.backend.video.domain.*; import com.example.backend.video.dto.*; import com.example.backend.video.repository.*; +import com.example.backend.video.service.VideoCommentService; import lombok.RequiredArgsConstructor; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable;