parent
ab9fd2bc16
commit
704ad12ccf
|
@ -7,7 +7,6 @@ import kr.co.vividnext.sodalive.content.main.tab.GetContentCurationResponse
|
||||||
import kr.co.vividnext.sodalive.member.Member
|
import kr.co.vividnext.sodalive.member.Member
|
||||||
import kr.co.vividnext.sodalive.member.block.BlockMemberRepository
|
import kr.co.vividnext.sodalive.member.block.BlockMemberRepository
|
||||||
import org.springframework.beans.factory.annotation.Value
|
import org.springframework.beans.factory.annotation.Value
|
||||||
import org.springframework.cache.annotation.Cacheable
|
|
||||||
import org.springframework.data.domain.Pageable
|
import org.springframework.data.domain.Pageable
|
||||||
import org.springframework.stereotype.Service
|
import org.springframework.stereotype.Service
|
||||||
import org.springframework.transaction.annotation.Transactional
|
import org.springframework.transaction.annotation.Transactional
|
||||||
|
@ -53,11 +52,6 @@ class AudioContentCurationService(
|
||||||
}
|
}
|
||||||
|
|
||||||
@Transactional(readOnly = true)
|
@Transactional(readOnly = true)
|
||||||
@Cacheable(
|
|
||||||
cacheNames = ["cache_ttl_3_days"],
|
|
||||||
key = "'getContentCurationList:' + ':' +" +
|
|
||||||
"#isAdult + ':' + #tabId + ':' + #contentType + ':' + (#memberId ?: 'guest')"
|
|
||||||
)
|
|
||||||
fun getContentCurationList(
|
fun getContentCurationList(
|
||||||
tabId: Long,
|
tabId: Long,
|
||||||
isAdult: Boolean,
|
isAdult: Boolean,
|
||||||
|
|
Loading…
Reference in New Issue