feat: 포인트 내역 UI 추가

This commit is contained in:
Yu Sung
2025-05-20 14:07:03 +09:00
parent f30db6c34a
commit 65373ae418
13 changed files with 554 additions and 9 deletions

View File

@@ -0,0 +1,27 @@
//
// PointStatusRepository.swift
// SodaLive
//
// Created by klaus on 5/20/25.
//
import Foundation
import CombineMoya
import Combine
import Moya
class PointStatusRepository {
private let api = MoyaProvider<PointStatusApi>()
func getPointStatus() -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getPointStatus)
}
func getPointRewardStatus() -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getPointRewardStatus)
}
func getPointUseStatus() -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getPointUseStatus)
}
}