- billingApi(products/verifyGoogle), native/billing(테스트 구매 토큰 생성) - Android 앱: 상품(월간/연간) 구매 버튼 → 검증 → 프로필 갱신 - PC(웹/데스크톱): 구매 대신 앱 다운로드 안내 - 프리미엄 이용 중이면 만료일 표시 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import http from './http'
|
||||
|
||||
// 백엔드 /api/billing 엔드포인트와 매핑
|
||||
export const billingApi = {
|
||||
// 구독 상품 목록
|
||||
products() {
|
||||
return http.get('/billing/products')
|
||||
},
|
||||
// Google Play 구매 검증 → 멤버십 부여
|
||||
verifyGoogle(payload) {
|
||||
return http.post('/billing/google/verify', payload)
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user