캐시 적용 - 추천라이브, 이벤트 리스트, 2주 이내 콘텐츠 업로드 한 크리에이터, 콘텐츠 상단 배너,
This commit is contained in:
@@ -337,6 +337,10 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
||||
.fetch()
|
||||
}
|
||||
|
||||
@Cacheable(
|
||||
value = ["getNewContentUploadCreatorList"],
|
||||
cacheManager = "cacheManager"
|
||||
)
|
||||
override fun getNewContentUploadCreatorList(
|
||||
cloudfrontHost: String,
|
||||
isAdult: Boolean
|
||||
@@ -372,6 +376,10 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
||||
.toList()
|
||||
}
|
||||
|
||||
@Cacheable(
|
||||
value = ["getAudioContentMainBannerList"],
|
||||
cacheManager = "cacheManager"
|
||||
)
|
||||
override fun getAudioContentMainBannerList(isAdult: Boolean): List<AudioContentBanner> {
|
||||
var where = audioContentBanner.isActive.isTrue
|
||||
|
||||
|
Reference in New Issue
Block a user