인기 콘텐츠 전체 보기 - 정렬 추가
This commit is contained in:
@@ -93,6 +93,10 @@ final class ContentRepository {
|
||||
return api.requestPublisher(.getAudioContentListByCurationId(curationId: curationId, page: page, size: size, sort: sort))
|
||||
}
|
||||
|
||||
func getContentRankingSortType() -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getContentRankingSortType)
|
||||
}
|
||||
|
||||
func getContentRanking(page: Int, size: Int, sortType: String = "매출") -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getContentRanking(page: page, size: size, sortType: sortType))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user