-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 앨범 및 사진 조회 관련 API #60
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
3c127b3
#54 feat: 사용자 앨범 증가 로직 추가
zyovn e67a51d
#54 feat: 사진 정보 조회 API
zyovn 6c25476
#54 feat: 띱한 사용자 목록 조회 API
zyovn d12b693
#54 fix: 베스트 앨범컷 좋아요 수 같을 시 최신순으로 수정
zyovn 1cad54e
#54 feat: 앨범 베스트 컷 조회 API
zyovn 5fdd1fc
#54 fix: 썸네일 생성 시, 캐시 무효화로 수정
zyovn 0989d80
#54 fix: cdn url 파싱 수정
zyovn 0134ae4
#54 refactor: 조회 관련 API response 수정
zyovn e7f3324
#54 feat: 앨범 정보 API
zyovn f39f815
#54 chore: 불필요한 import문 제거
zyovn c5f17d5
#54 docs: swagger 작성
zyovn 6aef2e3
#54 fix: 앨범 최대 사진 개수 수정
zyovn 32ed3d4
#54 chore: 불필요한 import문 제거
zyovn 87e5f23
#54 fix: 사진 상세 정보 response 수정 및 스키마 수정
zyovn ff55261
#54 fix: response 수정
zyovn 70468ba
#54 fix: 메서드명, validate관련 로직, imageUrl cdn url로 수정
zyovn fb233c0
#54 docs: schema 수정
zyovn 449a664
#54 refactor: 성공 코드 수정
zyovn ffa4741
#54 fix: 앨범 베스트컷 조회 API thumbnailUrl 수정 및 패키지 이동
zyovn 6971ce1
#54 fix: 피드백 반영
zyovn 6e4d3eb
#54 fix: 피드백 반영
zyovn a5bbb7b
#54 fix: 충돌 해결
zyovn 44255e6
#54 chore: 불필요한 import문 제거 및 성공 코드 수정
zyovn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
18 changes: 18 additions & 0 deletions
18
src/main/java/com/cheeeese/album/dto/response/AlbumBest4CutResponse.java
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| package com.cheeeese.album.dto.response; | ||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
| import lombok.Builder; | ||
|
|
||
| @Builder | ||
| @Schema(description = "베스트 앨범컷 조회 API") | ||
| public record AlbumBest4CutResponse( | ||
| @Schema(description = "썸네일 이미지 url", example = "https://cdn.say-cheese.me/...") | ||
| String thumbnailUrl, | ||
|
|
||
| @Schema(description = "좋아요 수", example = "1") | ||
| int likeCnt, | ||
|
|
||
| @Schema(description = "좋아요 여부", example = "true") | ||
| boolean isLiked | ||
| ) { | ||
| } |
32 changes: 32 additions & 0 deletions
32
src/main/java/com/cheeeese/album/dto/response/AlbumInfoResponse.java
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| package com.cheeeese.album.dto.response; | ||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
| import lombok.Builder; | ||
|
|
||
| import java.time.LocalDate; | ||
|
|
||
| @Builder | ||
| @Schema(description = "앨범 정보 API") | ||
| public record AlbumInfoResponse( | ||
| @Schema(description = "생성자 ID", example = "1") | ||
| Long makerId, | ||
|
|
||
| @Schema(description = "앨범 제목", example = "김수한무거북이") | ||
| String title, | ||
|
|
||
| @Schema(description = "테마 이모지", example = "U+1F9C0") | ||
| String themeEmoji, | ||
|
|
||
| @Schema(description = "참여 가능 인원 수", example = "64") | ||
| int participant, | ||
|
|
||
| @Schema(description = "현재 참여자 수", example = "30") | ||
| int currentParticipant, | ||
|
|
||
| @Schema(description = "이벤트 날짜", example = "2025-02-01") | ||
| LocalDate eventDate, | ||
|
|
||
| @Schema(description = "현재 사진 수", example = "1212") | ||
| int currentPhotoCnt | ||
| ) { | ||
| } |
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.