test #63
@@ -109,7 +109,7 @@ class AudioContentMainService(
 | 
			
		||||
        return GetNewContentAllResponse(totalCount, items)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Cacheable(cacheNames = ["default"], key = "'getNewContentUploadCreatorList:' + #memberId + ':' + #isAdult")
 | 
			
		||||
    @Cacheable(cacheNames = ["default"], key = "'newContentUploadCreatorList:' + #memberId + ':' + #isAdult")
 | 
			
		||||
    fun getNewContentUploadCreatorList(memberId: Long, isAdult: Boolean): List<GetNewContentUploadCreator> {
 | 
			
		||||
        return repository.getNewContentUploadCreatorList(
 | 
			
		||||
            cloudfrontHost = imageHost,
 | 
			
		||||
@@ -120,7 +120,7 @@ class AudioContentMainService(
 | 
			
		||||
            .toList()
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Cacheable(cacheNames = ["default"], key = "'getAudioContentMainBannerList:' + #memberId + ':' + #isAdult")
 | 
			
		||||
    @Cacheable(cacheNames = ["default"], key = "'contentMainBannerList:' + #memberId + ':' + #isAdult")
 | 
			
		||||
    fun getAudioContentMainBannerList(memberId: Long, isAdult: Boolean) =
 | 
			
		||||
        repository.getAudioContentMainBannerList(isAdult = isAdult)
 | 
			
		||||
            .asSequence()
 | 
			
		||||
@@ -169,7 +169,7 @@ class AudioContentMainService(
 | 
			
		||||
            }
 | 
			
		||||
            .toList()
 | 
			
		||||
 | 
			
		||||
    @Cacheable(cacheNames = ["default"], key = "'getAudioContentCurationList:' + #memberId + ':' + #isAdult")
 | 
			
		||||
    @Cacheable(cacheNames = ["default"], key = "'contentCurationList:' + #memberId + ':' + #isAdult")
 | 
			
		||||
    fun getAudioContentCurationList(memberId: Long, isAdult: Boolean) =
 | 
			
		||||
        repository.getAudioContentCurations(isAdult = isAdult)
 | 
			
		||||
            .asSequence()
 | 
			
		||||
@@ -195,7 +195,7 @@ class AudioContentMainService(
 | 
			
		||||
 | 
			
		||||
    @Cacheable(
 | 
			
		||||
        cacheNames = ["cache_ttl_3_days"],
 | 
			
		||||
        key = "'getAudioContentCurationList:' + ':' + #isAdult + ':' + #startDate + ':' + #endDate"
 | 
			
		||||
        key = "'contentRanking:' + ':' + #isAdult + ':' + #startDate + ':' + #endDate"
 | 
			
		||||
    )
 | 
			
		||||
    fun getContentRanking(isAdult: Boolean, startDate: LocalDateTime, endDate: LocalDateTime): GetAudioContentRanking {
 | 
			
		||||
        val startDateFormatter = DateTimeFormatter.ofPattern("yyyy년 MM월 dd일")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user