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