인기콘텐츠 전체 보기 페이지 추가

This commit is contained in:
Yu Sung
2023-10-15 06:34:08 +09:00
parent c440e8abd9
commit fea557560c
7 changed files with 260 additions and 2 deletions

View File

@@ -92,4 +92,8 @@ final class ContentRepository {
func getAudioContentListByCurationId(curationId: Int, page: Int, size: Int, sort: ContentCurationViewModel.Sort) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getAudioContentListByCurationId(curationId: curationId, page: page, size: size, sort: sort))
}
func getContentRanking(page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getContentRanking(page: page, size: size))
}
}