한정판 콘텐츠

- 해당 콘텐츠 크리에이터인 경우 콘텐츠 구매자 리스트 추가
This commit is contained in:
2025-04-11 21:39:39 +09:00
parent dd5c121f1f
commit 5759a51017
3 changed files with 47 additions and 3 deletions

View File

@@ -652,6 +652,16 @@ class AudioContentService(
audioContent.detail
}
val buyerList = if (
audioContent.member?.id == member.id &&
audioContent.limited != null &&
audioContent.remaining != null
) {
orderRepository.findBuyerListByContentId(id)
} else {
listOf()
}
return GetAudioContentDetailResponse(
contentId = audioContent.id!!,
title = audioContent.title,
@@ -696,7 +706,8 @@ class AudioContentService(
isNotify = creatorFollowing?.isNotify ?: false
),
previousContent = previousContent,
nextContent = nextContent
nextContent = nextContent,
buyerList = buyerList
)
}