fix(payment): 删除泄露内部 AI 渠道配置的废弃接口

Fixes #4160
This commit is contained in:
li
2026-07-13 15:22:39 +08:00
parent 551e2570dd
commit 03ccb2a08e
5 changed files with 6 additions and 27 deletions
-6
View File
@@ -7,7 +7,6 @@ import { apiClient } from './client'
import type {
PaymentConfig,
SubscriptionPlan,
PaymentChannel,
MethodLimitsResponse,
CheckoutInfoResponse,
CreateOrderRequest,
@@ -35,11 +34,6 @@ export const paymentAPI = {
return apiClient.get<SubscriptionPlan[]>('/payment/plans')
},
/** Get available payment channels */
getChannels() {
return apiClient.get<PaymentChannel[]>('/payment/channels')
},
/** Get all checkout page data in a single call */
getCheckoutInfo() {
return apiClient.get<CheckoutInfoResponse>('/payment/checkout-info')