콘텐츠 랭킹 데이터 전체보기 API - 페이징 추가
This commit is contained in:
@@ -577,7 +577,11 @@ class AudioContentService(
|
||||
}
|
||||
}
|
||||
|
||||
fun getAudioContentRanking(member: Member): GetAudioContentRanking {
|
||||
fun getAudioContentRanking(
|
||||
member: Member,
|
||||
offset: Long,
|
||||
limit: Long
|
||||
): GetAudioContentRanking {
|
||||
val currentDateTime = LocalDateTime.now()
|
||||
val startDate = currentDateTime
|
||||
.withHour(15)
|
||||
@@ -597,7 +601,8 @@ class AudioContentService(
|
||||
startDate = startDate,
|
||||
endDate = endDate,
|
||||
isAdult = member.auth != null,
|
||||
limit = 50
|
||||
offset = offset,
|
||||
limit = limit
|
||||
)
|
||||
|
||||
return GetAudioContentRanking(
|
||||
|
Reference in New Issue
Block a user