콘텐츠 랭킹 아이템

- 크리에이터 프로필 이미지 추가
This commit is contained in:
Klaus 2025-02-10 02:30:30 +09:00
parent b7610641e5
commit c4602369ae
3 changed files with 10 additions and 5 deletions

View File

@ -679,7 +679,8 @@ class AudioContentQueryRepositoryImpl(
audioContent.price,
audioContent.duration,
member.id,
member.nickname
member.nickname,
member.profileImage.prepend("/").prepend(imageHost)
)
)

View File

@ -17,5 +17,6 @@ data class GetAudioContentRankingItem @QueryProjection constructor(
@JsonProperty("price") val price: Int,
@JsonProperty("duration") val duration: String,
@JsonProperty("creatorId") val creatorId: Long,
@JsonProperty("creatorNickname") val creatorNickname: String
@JsonProperty("creatorNickname") val creatorNickname: String,
@JsonProperty("creatorProfileImageUrl") val creatorProfileImageUrl: String
)

View File

@ -82,7 +82,8 @@ class RankingRepository(
audioContent.price,
audioContent.duration,
member.id,
member.nickname
member.nickname,
member.profileImage.prepend("/").prepend(imageHost)
)
)
@ -365,7 +366,8 @@ class RankingRepository(
audioContent.price,
audioContent.duration,
member.id,
member.nickname
member.nickname,
member.profileImage.prepend("/").prepend(imageHost)
)
)
.from(order)
@ -404,7 +406,8 @@ class RankingRepository(
audioContent.price,
audioContent.duration,
member.id,
member.nickname
member.nickname,
member.profileImage.prepend("/").prepend(imageHost)
)
)
.from(order)