Skip to content

Commit

Permalink
[MODIFY] delete comment in BoothDetail & modify getBooth description
Browse files Browse the repository at this point in the history
- delete comment in BoothDetail
- modify getBooth description
  • Loading branch information
himodu committed May 17, 2024
1 parent 5343a2a commit 9a33917
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public ResponseEntity<AllBooth> 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<BoothDetail> getBooth(
@PathVariable("boothNum") int boothNum,
@PathVariable("categori") String categori,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ public class BoothDetail {
private List<String> urls;
private boolean Likable;

private List<Comment> comments;
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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();
}

Expand Down

0 comments on commit 9a33917

Please sign in to comment.