Skip to content

Conversation

@sumi-03
Copy link
Member

@sumi-03 sumi-03 commented Sep 11, 2025

구현 내용

  • TourAPI locationBasedList2 연동 → 위도·경도 기반 주변 관광지 실시간 조회
  • language 파라미터로 Kor/Eng/Jpn/Chs 다국어 지원
  • contentTypeId → 관광타입명(K/E/J/C) 매핑, DTO 필드 contentTypeName으로 반환
  • 거리·주소·대표이미지·전화번호 등 응답 필드 매핑

- KorService2/locationBasedList2로 위도·경도 기반 지역/시군구 코드 조회
- TarRlteTarService1/searchKeyword1 호출로 연관관광지 목록 실시간 조회
- KorService2/searchKeyword2 호출로 각 연관관광지 좌표 조회 후 Haversine 거리 계산
- 기존 배치 스케줄링 기반 DB 업데이트 로직 제거 → 실시간 API 응답 방식으로 전환
- 기존 TarRlteTarService1/searchKeyword1 + KorService2/searchKeyword2 + Haversine 거리계산 로직 제거
- TourAPI base URL 분기 (Kor/Eng/Jpn/Chs) → language 파라미터 기반 다국어 지원
- locationBasedList2 호출로 거리·주소·좌표·대표이미지·제목·전화번호 실시간 조회
- contentTypeId → 관광타입명(K/E/J/C) 매핑 로직 추가
- RelatedResponseDto에서 contentTypeId 필드를 contentTypeName으로 변경
@sumi-03 sumi-03 requested a review from Enble September 11, 2025 08:43
@sumi-03 sumi-03 self-assigned this Sep 11, 2025
Copy link
Collaborator

@Enble Enble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sumi-03 sumi-03 merged commit 48f52ce into main Sep 11, 2025
1 check passed
@Enble Enble deleted the feat/#38 branch September 12, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] TourAPI 연동 1: 연계 관광지 정보 DB 업데이트 및 제공

3 participants