diff --git a/src/main/java/univ/yesummit/domain/board/api/dto/response/BoardInfoResDto.java b/src/main/java/univ/yesummit/domain/board/api/dto/response/BoardInfoResDto.java index 2e7b5ce..00cd818 100644 --- a/src/main/java/univ/yesummit/domain/board/api/dto/response/BoardInfoResDto.java +++ b/src/main/java/univ/yesummit/domain/board/api/dto/response/BoardInfoResDto.java @@ -17,6 +17,8 @@ public record BoardInfoResDto( String title, String content, List imageUrl, + String serviceUrl, + String PTUrl, int likeCount, boolean isLike, int InvestmentCount, @@ -38,6 +40,8 @@ public static BoardInfoResDto of(Member member, Board board, boolean isLike) { .title(board.getTitle()) .content(board.getContent()) .imageUrl(imageUrl) + .serviceUrl(builder().serviceUrl) + .PTUrl(builder().PTUrl) .likeCount(board.getLikeCount()) .commentCount(board.getComments().size()) .date(board.getBoardDate())