콘텐츠 메인 - 인기 콘텐츠 정렬 추가

This commit is contained in:
Yu Sung
2023-11-03 13:10:51 +09:00
parent 68675ebfe8
commit cf7f1527b7
7 changed files with 125 additions and 6 deletions

View File

@@ -93,7 +93,7 @@ final class ContentRepository {
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))
func getContentRanking(page: Int, size: Int, sortType: String = "매출") -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getContentRanking(page: page, size: size, sortType: sortType))
}
}