feat(home): 홈 추천 콘텐츠 섹션 추가

This commit is contained in:
Yu Sung
2025-11-14 01:24:20 +09:00
parent 0902b1fe30
commit 0fd49a71f6
6 changed files with 106 additions and 2 deletions

View File

@@ -41,4 +41,13 @@ class HomeTabRepository {
)
)
}
func getRecommendContents() -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(
.getRecommendContents(
isAdultContentVisible: UserDefaults.isAdultContentVisible(),
contentType: ContentType(rawValue: UserDefaults.string(forKey: .contentPreference)) ?? ContentType.ALL
)
)
}
}