feat(home-free-content): 최신 콘텐츠 조회 함수 getLatestContentByTheme에 orderbyRandom flag를 추가하여 랜덤으로 정렬한 후 데이터를 가져올 수 있도록 수정
This commit is contained in:
@@ -989,7 +989,8 @@ class AudioContentService(
|
||||
offset: Long = 0,
|
||||
limit: Long = 20,
|
||||
isFree: Boolean = false,
|
||||
isAdult: Boolean = false
|
||||
isAdult: Boolean = false,
|
||||
orderByRandom: Boolean = false
|
||||
): List<AudioContentMainItem> {
|
||||
return repository.getLatestContentByTheme(
|
||||
theme = theme,
|
||||
@@ -997,7 +998,8 @@ class AudioContentService(
|
||||
offset = offset,
|
||||
limit = limit,
|
||||
isFree = isFree,
|
||||
isAdult = isAdult
|
||||
isAdult = isAdult,
|
||||
orderByRandom = orderByRandom
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user