diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/booth/controller/BoothController.java b/src/main/java/LlikelionKNU/KNUfest/domain/booth/controller/BoothController.java index c8ff9b7..c8fff2a 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/booth/controller/BoothController.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/booth/controller/BoothController.java @@ -27,7 +27,7 @@ public ResponseEntity getAllbooth( } @GetMapping("/{categori}/{boothNum}") - @Operation(summary = "특정 부스정보 조회", description = "특정 부스의 id, 좋아요, 오래된 순 댓글 5개를 보내준다. 부스 별 페이지에 갖다 쓰면 됨. categori: 부스 종류, boothnum: 부스번호임. likable은 유저별 좋아요 누르기 가능여부" ) + @Operation(summary = "특정 부스정보 조회", description = "특정 부스의 id, 좋아요, 오래된 순 댓글 5개를 보내준다. 부스 별 페이지에 갖다 쓰면 됨. categori: 부스 종류(주점 : pub, 복합 : comp, 기타 : other), boothnum: 부스번호임. likable은 유저별 좋아요 누르기 가능여부" ) public ResponseEntity getBooth( @PathVariable("boothNum") int boothNum, @PathVariable("categori") String categori, diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/BoothDetail.java b/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/BoothDetail.java index 44b0ae8..ef3ef74 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/BoothDetail.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/BoothDetail.java @@ -16,5 +16,4 @@ public class BoothDetail { private List urls; private boolean Likable; - private List comments; } diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/booth/service/BoothServiceImpl.java b/src/main/java/LlikelionKNU/KNUfest/domain/booth/service/BoothServiceImpl.java index badc7b0..1418684 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/booth/service/BoothServiceImpl.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/booth/service/BoothServiceImpl.java @@ -25,7 +25,6 @@ public class BoothServiceImpl implements BoothService{ private final BoothRepository boothrepository; private final UserBoothRepository userBoothRepository; - private final CommentService commentService; private final UserService userService; @Override @@ -96,7 +95,6 @@ public BoothDetail getBooth(int boothnum, String categori, String userHash) { .categori(booth.getCategori()) .urls(booth.getUrls()) .Likable(temp) - .comments(commentService.getCommentPage(booth.getId(),5,1, "default", userHash)) .build(); }