-
Notifications
You must be signed in to change notification settings - Fork 0
Revert "Revert "Feat/#31-test 제휴게시글 관련 기능 구현 "" #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough제휴 파트너십 기능을 추가하고, 장소(Place) 정보를 String에서 SavedPlaceInfo 및 Place 엔티티로 리팩토링하며, 지오코더 API를 통한 주소 변환 기능을 도입하고 Kakao OAuth 흐름을 토큰 기반에서 인증 코드 기반으로 변경했습니다. Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant Controller as PartnershipController
participant Service as PartnershipService
participant PlaceRepo as PlaceRepository
participant PostImageRepo as PostImageRepository
participant Mapper as PlaceMapper
User->>Controller: GET /api/partnership/detail (postId, lat, lng)
Controller->>Service: getPartnershipDetail(postId, userId, userLat, userLng)
Service->>Service: 거리 계산 (GeoUtil.distanceMeter)
Service->>PlaceRepo: 좋아요 여부 확인
Service->>PostImageRepo: findImageUrlsByPost(post)
Service->>Mapper: toPartnershipResponse(..., imgUrls, distance)
Mapper-->>Service: PartnershipResponse
Service-->>Controller: PartnershipResponse
Controller-->>User: CommonResponse<PartnershipResponse>
sequenceDiagram
actor User
participant Controller as StudentCouncilPostController
participant Service as StudentCouncilPostService
participant PlaceService
participant PartnershipService
participant Mapper as StudentCouncilPostMapper
participant PostRepo as StudentCouncilPostRepository
User->>Controller: POST /posts (PostRequest with Place info)
Controller->>Service: createPost(postRequest, ...)
Service->>PlaceService: findOrCreatePlace(postRequest)
PlaceService-->>Service: Place entity
Service->>PartnershipService: create(post, place)
PartnershipService-->>Service: Partnership entity
Service->>Mapper: createStudentCouncilPost(writer, place, dto, ...)
Mapper-->>Service: StudentCouncilPost
Service->>PostRepo: save(post)
PostRepo-->>Service: saved post
Service-->>Controller: response
Controller-->>User: CommonResponse
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (39)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reverts #47
Summary by CodeRabbit
릴리스 노트
새로운 기능
개선
문서
✏️ Tip: You can customize this high-level summary in your review settings.