한정판 콘텐츠
- 해당 콘텐츠 크리에이터인 경우 콘텐츠 구매자 리스트 추가
This commit is contained in:
@@ -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
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user