시리즈 상세, 채널 상세

- 19금 콘텐츠 보기 설정 적용
This commit is contained in:
2025-03-19 18:34:20 +09:00
parent b1fb62dd65
commit 9ed031e574
10 changed files with 223 additions and 35 deletions

View File

@@ -675,19 +675,25 @@ class AudioContentService(
sortType: SortType,
member: Member,
categoryId: Long = 0,
isAdultContentVisible: Boolean,
contentType: ContentType,
offset: Long,
limit: Long
): GetAudioContentListResponse {
val isAdult = member.auth != null && isAdultContentVisible
val totalCount = repository.findTotalCountByCreatorId(
creatorId = creatorId,
isAdult = member.auth != null,
categoryId = categoryId
isAdult = isAdult,
categoryId = categoryId,
contentType = contentType
)
val audioContentList = repository.findByCreatorId(
creatorId = creatorId,
coverImageHost = coverImageHost,
isAdult = member.auth != null,
isAdult = isAdult,
contentType = contentType,
sortType = sortType,
categoryId = categoryId,
offset = offset,