初始版本
This commit is contained in:
32
uniapp/src/api/wallet.ts
Normal file
32
uniapp/src/api/wallet.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
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 })
|
||||
Reference in New Issue
Block a user