diff --git a/apps/ai-game-creator-shell/src/features/app-shell/useAccountWallet.ts b/apps/ai-game-creator-shell/src/features/app-shell/useAccountWallet.ts index 454b8e955..1259629e5 100644 --- a/apps/ai-game-creator-shell/src/features/app-shell/useAccountWallet.ts +++ b/apps/ai-game-creator-shell/src/features/app-shell/useAccountWallet.ts @@ -286,7 +286,9 @@ export function useAccountWallet(currentUserId: string) { } } - async function buyRechargeProduct(product: ProfileRechargeProduct) { + async function buyRechargeProduct( + product: Pick, + ) { if (submittingRechargeProductId) { return; } @@ -432,14 +434,7 @@ export function useAccountWallet(currentUserId: string) { // 这里只需要把 productId 交给同一条下单链路。 void buyRechargeProduct({ productId: resolveMembershipProductId(plan, cycleKind), - title: plan, - priceCents: 0, kind: 'membership', - pointsAmount: 0, - bonusPoints: 0, - durationDays: 0, - badgeLabel: '', - description: '', }); }