Merge pull request 'GetAudioContentMainItem - adult를 isAdult로 변경, 캐시 제거' (#54) from test into main
Reviewed-on: #54
This commit is contained in:
commit
afb99fef64
|
@ -428,10 +428,6 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
.fetch()
|
||||
}
|
||||
|
||||
@Cacheable(
|
||||
value = ["findAudioContentByCurationId"],
|
||||
cacheManager = "cacheManager"
|
||||
)
|
||||
override fun findAudioContentByCurationId(
|
||||
curationId: Long,
|
||||
cloudfrontHost: String,
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
package kr.co.vividnext.sodalive.content.main
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import com.querydsl.core.annotations.QueryProjection
|
||||
|
||||
data class GetAudioContentMainItem @QueryProjection constructor(
|
||||
@JsonProperty("contentId") val contentId: Long,
|
||||
@JsonProperty("coverImageUrl") val coverImageUrl: String,
|
||||
@JsonProperty("title") val title: String,
|
||||
@JsonProperty("adult") val isAdult: Boolean,
|
||||
@JsonProperty("creatorId") val creatorId: Long,
|
||||
@JsonProperty("creatorProfileImageUrl") val creatorProfileImageUrl: String,
|
||||
@JsonProperty("creatorNickname") val creatorNickname: String
|
||||
val contentId: Long,
|
||||
val coverImageUrl: String,
|
||||
val title: String,
|
||||
val isAdult: Boolean,
|
||||
val creatorId: Long,
|
||||
val creatorProfileImageUrl: String,
|
||||
val creatorNickname: String
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue