Skip to content

Commit

Permalink
feat: 맛집 조회 위도 경도 반환
Browse files Browse the repository at this point in the history
  • Loading branch information
nyeroni committed Nov 5, 2024
1 parent 6982c0c commit ee3a8ce
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 ee3a8ce

Please sign in to comment.