관리자 시리즈 검색 API - 검색어 추가
관리자/앱 콘텐츠 배너 API - 시리즈 추가
This commit is contained in:
@@ -97,6 +97,8 @@ class AudioContentMainService(
|
||||
.filter {
|
||||
if (it.type == AudioContentBannerType.CREATOR && it.creator != null) {
|
||||
!blockMemberRepository.isBlocked(blockedMemberId = memberId, memberId = it.creator!!.id!!)
|
||||
} else if (it.type == AudioContentBannerType.SERIES && it.series != null) {
|
||||
!blockMemberRepository.isBlocked(blockedMemberId = memberId, memberId = it.series!!.member!!.id!!)
|
||||
} else {
|
||||
true
|
||||
}
|
||||
@@ -132,6 +134,11 @@ class AudioContentMainService(
|
||||
} else {
|
||||
null
|
||||
},
|
||||
seriesId = if (it.type == AudioContentBannerType.SERIES && it.series != null) {
|
||||
it.series!!.id
|
||||
} else {
|
||||
null
|
||||
},
|
||||
link = it.link
|
||||
)
|
||||
}
|
||||
|
@@ -8,5 +8,6 @@ data class GetAudioContentBannerResponse(
|
||||
@JsonProperty("thumbnailImageUrl") val thumbnailImageUrl: String,
|
||||
@JsonProperty("eventItem") val eventItem: EventItem?,
|
||||
@JsonProperty("creatorId") val creatorId: Long?,
|
||||
@JsonProperty("seriesId") val seriesId: Long?,
|
||||
@JsonProperty("link") val link: String?
|
||||
)
|
||||
|
Reference in New Issue
Block a user