상점 조회 기능 구현
작업 내용
응답값 정보
| 이름 |
type |
nullable |
비고 |
| data.store |
object |
X |
상점 정보 |
| data.store.idx |
Long |
X |
상점 식별자 번호 |
| data.store.type |
String |
X |
상점 유형 |
| data.store.tel |
String |
X |
전화 번호 |
| data.store.introduce |
String |
X |
상점 안내 |
| data.store.price |
String |
X |
가격 정보 |
| data.store.location |
object |
X |
위치 정보 |
| data.store.location.simpleAddressName |
String |
X |
간단 주소명 |
| data.store.location.addressName |
String |
X |
전체 주소 |
| data.store.location.xCoordinate |
Double |
X |
X 좌표 |
| data.store.location.yCoordinate |
Double |
X |
Y 좌표 |
| data.store.reseveList |
array |
X |
예약 가능 날짜 목록 |
| data.store.reseveList[].date |
String |
X |
예약 날짜 |
| data.store.reseveList[].canReserve |
Boolean |
X |
예약 가능 여부 |
| data.store.menus |
array |
X |
메뉴 목록 |
| data.store.menus[].idx |
Long |
X |
메뉴 식별자 |
| data.store.menus[].name |
String |
X |
메뉴 이름 |
| data.store.menus[].menuImage |
String |
X |
메뉴 이미지 URL |
| data.store.amenities |
array |
X |
편의시설 목록 |
| data.store.amenities[].code |
String |
X |
편의시설 코드 |
| data.store.amenities[].memo |
String |
O |
편의시설 설명 |
| data.store.amenities[].image |
String |
X |
이미지 URL |
| data.store.businessHour |
array |
X |
영업시간 |
| data.store.businessHour[].day |
String |
X |
요일 (예: ALL) |
| data.store.businessHour[].launchStartTime |
String |
X |
런치 시작 시간 |
| data.store.businessHour[].launchEndTime |
String |
X |
런치 종료 시간 |
| data.store.businessHour[].dinerStartTime |
String |
X |
디너 시작 시간 |
| data.store.businessHour[].dinerEndTime |
String |
X |
디너 종료 시간 |
응답값 예시
{
"data": {
"store": {
"idx": 1,
"type": "스시오카마세",
"tel": "02-4444-2222",
"introduce": "최고급 오마카세를 합리적인 가격에 무제한 사케와 함게 즐길 수 있는 업장",
"price": {
"launch": "4.8만원",
"diner": "4.8 - 14만원"
},
"location": {
"simpleAddressName": "압구정",
"name": "서울특별시 강남구 압구정로71길 4 미산빌딩 1층",
"xCoordinate":123.99,
"yCoordinate":12344.99
},
"reseveList": [
{
"date": "2025.04.22",
"canReserve": false
},
{
"date": "2025.04.23",
"reserveStatus": true
}
],
"menus": [
{
"idx": 1,
"name": "런치 오마카세",
"menuImage": "www.naver.com"
},
{
"idx": 2,
"name": "디너 오마카세",
"menuImage": "www.naver.com"
},
{
"idx": 3,
"name": "사시미 도시락",
"menuImage": "www.naver.com"
}
],
"amenities": [
{
"code": "parking",
"memo": "주차 5000원",
"image": "wwwnaver.com"
},
{
"code": "catchPay",
"memo": "",
"image": "wwwnaver.com"
},
{
"code": "valetParking",
"memo": "발렛 주차 5000원",
"image": "wwwnaver.com"
}
],
"businessHour": [
{
"day": "ALL",
"launchStartTime": "12:00",
"launchEndTime": "15:00",
"dinerStartTime": "17:30",
"dinerEndTime": "2200"
}
]
}
}
}
상점 조회 기능 구현
작업 내용
응답값 정보
응답값 예시
{ "data": { "store": { "idx": 1, "type": "스시오카마세", "tel": "02-4444-2222", "introduce": "최고급 오마카세를 합리적인 가격에 무제한 사케와 함게 즐길 수 있는 업장", "price": { "launch": "4.8만원", "diner": "4.8 - 14만원" }, "location": { "simpleAddressName": "압구정", "name": "서울특별시 강남구 압구정로71길 4 미산빌딩 1층", "xCoordinate":123.99, "yCoordinate":12344.99 }, "reseveList": [ { "date": "2025.04.22", "canReserve": false }, { "date": "2025.04.23", "reserveStatus": true } ], "menus": [ { "idx": 1, "name": "런치 오마카세", "menuImage": "www.naver.com" }, { "idx": 2, "name": "디너 오마카세", "menuImage": "www.naver.com" }, { "idx": 3, "name": "사시미 도시락", "menuImage": "www.naver.com" } ], "amenities": [ { "code": "parking", "memo": "주차 5000원", "image": "wwwnaver.com" }, { "code": "catchPay", "memo": "", "image": "wwwnaver.com" }, { "code": "valetParking", "memo": "발렛 주차 5000원", "image": "wwwnaver.com" } ], "businessHour": [ { "day": "ALL", "launchStartTime": "12:00", "launchEndTime": "15:00", "dinerStartTime": "17:30", "dinerEndTime": "2200" } ] } } }