LocalDateTime serialize 도중 발생하는 에러를 처리하기 위해 JacksonConfig 추가
This commit is contained in:
parent
0f6c3075bc
commit
bcdd161205
|
@ -0,0 +1,14 @@
|
|||
package kr.co.vividnext.sodalive.configs
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper
|
||||
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
|
||||
@Configuration
|
||||
class JacksonConfig {
|
||||
@Bean
|
||||
fun objectMapper(): ObjectMapper {
|
||||
return ObjectMapper().registerModule(JavaTimeModule())
|
||||
}
|
||||
}
|
|
@ -446,7 +446,7 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
|
||||
@Cacheable(
|
||||
value = ["weekLivedCache"],
|
||||
key = "#isAdult" + '_' + "#offset" + '_' + "#limit",
|
||||
key = "#startDate" + '_' + "#isAdult" + '_' + "#offset" + '_' + "#limit",
|
||||
cacheManager = "cacheManager"
|
||||
)
|
||||
override fun getAudioContentRanking(
|
||||
|
|
Loading…
Reference in New Issue