This commit is contained in:
2026-09-19 17:30:27 +08:00
parent 514abf6eda
commit 60e875b2c6
5 changed files with 31 additions and 35 deletions
-9
View File
@@ -78,11 +78,6 @@ export interface RechargeRequest {
reviewedAt: string | null
}
export interface RechargeChannel {
enabled: boolean
qrCodeUrl: string | null
}
export function getFinanceAccount() {
return apiRequest<FinanceAccount>({ method: 'GET', url: '/client/finance/v1/account' })
}
@@ -105,10 +100,6 @@ export async function getRechargeRequests(page: number, size: number) {
return normalizePageResult(result)
}
export function getRechargeChannel() {
return apiRequest<RechargeChannel>({ method: 'GET', url: '/client/finance/v1/recharge-channel' })
}
export function createRechargeRequest(amount: string, file: File, idempotencyKey: string) {
const formData = new FormData()
formData.append('amount', amount)