33 lines
1.0 KiB
TypeScript
33 lines
1.0 KiB
TypeScript
import request from '@/utils/request'
|
|
|
|
// 钱包信息
|
|
export const apiUserWallet = () => request.get({ url: '/user/wallet' })
|
|
|
|
// 账户明细列表
|
|
export const apiAccountLogLists = (params: any) =>
|
|
request.get({ url: '/account_log/lists', data: params }, { ignoreCancel: true })
|
|
|
|
// 充值
|
|
export const apiRecharge = (params: any) =>
|
|
request.post({ url: '/recharge/recharge', data: params })
|
|
|
|
// 充值记录列表
|
|
export const apiRechargeLogLists = (params: any) =>
|
|
request.get({ url: '/recharge/logLists', data: params })
|
|
|
|
// 获取提现配置
|
|
export const apiGetWithdrawConfig = (params: any) =>
|
|
request.get({ url: '/withdraw/getConfig', data: params })
|
|
|
|
// 提现申请
|
|
export const apiWithdrawApply = (params: any) =>
|
|
request.post({ url: '/withdraw/apply', data: params })
|
|
|
|
// 提现申请列表
|
|
export const apiWithdrawLists = (params: any) =>
|
|
request.get({ url: '/withdraw/lists', data: params })
|
|
|
|
// 提现申请详情
|
|
export const apiWithdrawDetail = (params: any) =>
|
|
request.get({ url: '/withdraw/detail', data: params })
|