Skip to content

Commit

Permalink
Merge pull request #80 from minseok1015/dev
Browse files Browse the repository at this point in the history
feat : keywordID 추가
  • Loading branch information
minseok1015 authored Aug 12, 2024
2 parents 850d838 + 0b087f2 commit a098aa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@Getter
@Setter
public class RankResponseDTO {
private Long keywordId;
private String keyword;
private String searchLink;
private String newsTitle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public RankResponseDTO getReferenceByKeyword(String community, String period, St
Reference reference = latestKeyword.getReference();

RankResponseDTO response = new RankResponseDTO();
response.setKeywordId(latestKeyword.getKeywordId());
response.setKeyword(latestKeyword.getKeyword());
response.setSearchLink(reference.getSearchLink());
response.setNewsTitle(reference.getNewsTitle());
Expand Down

0 comments on commit a098aa1

Please sign in to comment.