diff --git a/src/main/java/com/jeju/nanaland/domain/nana/dto/NanaResponse.java b/src/main/java/com/jeju/nanaland/domain/nana/dto/NanaResponse.java index ac17e81f..29ba20db 100644 --- a/src/main/java/com/jeju/nanaland/domain/nana/dto/NanaResponse.java +++ b/src/main/java/com/jeju/nanaland/domain/nana/dto/NanaResponse.java @@ -87,6 +87,8 @@ public static class NanaDetail { public List additionalInfoList; + public List hashtags; + } @Data diff --git a/src/main/java/com/jeju/nanaland/domain/nana/service/NanaService.java b/src/main/java/com/jeju/nanaland/domain/nana/service/NanaService.java index c8b1269d..3fe6369a 100644 --- a/src/main/java/com/jeju/nanaland/domain/nana/service/NanaService.java +++ b/src/main/java/com/jeju/nanaland/domain/nana/service/NanaService.java @@ -67,6 +67,11 @@ public NanaResponse.NanaDetailDto getNanaDetail(Long id) { List nanaDetails = new ArrayList<>(); for (NanaContent nanaContent : nanaContentList) { + + // TODO hashtag 기능 구현 시 꼭 수정하기!!!! + List tmp = new ArrayList<>(); + tmp.add("ex1"); + tmp.add("ex2"); nanaDetails.add( NanaResponse.NanaDetail.builder() .number(nanaContent.getNumber()) @@ -75,6 +80,7 @@ public NanaResponse.NanaDetailDto getNanaDetail(Long id) { .imageUrl(nanaContent.getImageFile().getOriginUrl()) .content(nanaContent.getContent()) .additionalInfoList(getAdditionalInfoFromNanaContentEntity(nanaContent)) + .hashtags(tmp) .build()); }