Skip to content

Commit

Permalink
Merge pull request #176 from UnivApp/feature/restaurant-refactor7
Browse files Browse the repository at this point in the history
feat: 맛집 조회 위도 경도 반환
  • Loading branch information
nyeroni authored Nov 5, 2024
2 parents 6982c0c + ee3a8ce commit e8996be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ public class KakaoApiDocument {
private String phone;
private String category_name;
private String place_url;
private Double x;
private Double y;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ public class RestaurantResponse {
private String phone;
private String categoryName;
private String placeUrl;
private Double x;
private Double y;
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public List<RestaurantResponse> searchRestaurant(String query) {
.categoryName(lastCategory)
.phone(document.getPhone())
.placeUrl(document.getPlace_url())
.x(document.getX())
.y(document.getY())
.build());
}
}
Expand Down

0 comments on commit e8996be

Please sign in to comment.