From 290c4600fa18332e19b66fc078f69c2d9e5d89ae Mon Sep 17 00:00:00 2001 From: Klaus Date: Thu, 25 Apr 2024 00:20:09 +0900 Subject: [PATCH] =?UTF-8?q?=ED=81=AC=EB=A6=AC=EC=97=90=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=20=EC=B1=84=EB=84=90=20-=20=EC=8B=9C=EB=A6=AC=EC=A6=88=20?= =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kr/co/vividnext/sodalive/explorer/ExplorerService.kt | 7 +++++++ .../sodalive/explorer/GetCreatorProfileResponse.kt | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt index 6186c1b..2a1515d 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt @@ -3,6 +3,7 @@ package kr.co.vividnext.sodalive.explorer import kr.co.vividnext.sodalive.common.SodaException import kr.co.vividnext.sodalive.content.AudioContentService import kr.co.vividnext.sodalive.content.SortType +import kr.co.vividnext.sodalive.content.series.ContentSeriesService import kr.co.vividnext.sodalive.explorer.follower.GetFollowerListResponse import kr.co.vividnext.sodalive.explorer.follower.GetFollowerListResponseItem import kr.co.vividnext.sodalive.explorer.profile.ChannelNotice @@ -38,6 +39,7 @@ class ExplorerService( private val cheersRepository: CreatorCheersRepository, private val noticeRepository: ChannelNoticeRepository, private val communityService: CreatorCommunityService, + private val seriesService: ContentSeriesService, private val applicationEventPublisher: ApplicationEventPublisher, @@ -252,6 +254,10 @@ class ExplorerService( val liveContributorCount = queryRepository.getLiveContributorCount(creatorId) ?: 0 val contentCount = queryRepository.getContentCount(creatorId) ?: 0 + val seriesList = seriesService + .getSeriesList(creatorId = creatorId, member = member) + .items + return GetCreatorProfileResponse( creator = CreatorResponse( creatorId = creatorAccount.id!!, @@ -283,6 +289,7 @@ class ExplorerService( liveContributorCount = liveContributorCount, contentCount = contentCount ), + seriesList = seriesList, isBlock = isBlock ) } diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/GetCreatorProfileResponse.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/GetCreatorProfileResponse.kt index da86441..bfdd016 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/GetCreatorProfileResponse.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/GetCreatorProfileResponse.kt @@ -1,6 +1,7 @@ package kr.co.vividnext.sodalive.explorer import kr.co.vividnext.sodalive.content.GetAudioContentListItem +import kr.co.vividnext.sodalive.content.series.GetSeriesListResponse import kr.co.vividnext.sodalive.explorer.profile.creatorCommunity.GetCommunityPostListResponse data class GetCreatorProfileResponse( @@ -13,6 +14,7 @@ data class GetCreatorProfileResponse( val communityPostList: List, val cheers: GetCheersResponse, val activitySummary: GetCreatorActivitySummary, + val seriesList: List, val isBlock: Boolean )