[#9] feat: 최근 본 공고(RecentView) API - #18
Merged
Merged
Conversation
마이페이지 '최근에 본 공고' 탭이 사용할 열람 기록 API를 추가한다. - POST /api/me/recent-views : 캠페인 열람 기록(이미 있으면 열람 시각만 갱신, 멱등) - GET /api/me/recent-views/ids : 최근 열람 캠페인 ID 목록(최신순, 상한 50) - GET /api/me/recent-views : 최근 열람 캠페인 목록(최신순 페이징, CampaignResponse) - RecentView 엔티티(member+campaign 유니크)와 정적 팩토리 create, 열람 시각 갱신 touch - viewedAt 동률 시 id로 안정 정렬, fetch join + countQuery로 페이징 정확성 확보 - 잘못된 page/size/limit는 방어적으로 보정 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bumnote
requested review from
Copilot and
pug9483
and removed request for
Copilot
June 28, 2026 05:45
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📄 작업 내용
POST /api/me/recent-views: 캠페인 열람 기록(이미 있으면 열람 시각 갱신, 멱등)GET /api/me/recent-views/ids: 최근 열람 캠페인 ID 목록(최신순, 상한 50)GET /api/me/recent-views: 최근 열람 캠페인 목록(최신순 페이징, CampaignResponse)✅ PR 유형
🧪 테스트 내용
🙋🏻 참고 사항
🔗 관련 이슈
resolved: #9