优化提现手续费动态配置
This commit is contained in:
@ -164,3 +164,17 @@ export const cancelSocialBind = (params: { type: number; openid: string }) => {
|
||||
export const userLogout = () => {
|
||||
return useDollarFetchRequest.del<IResponse<boolean>>('/prod-api/app-api/member/user/unregister-user', {})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取钱包配置
|
||||
*/
|
||||
export const getWalletConfig = () => {
|
||||
return useDollarFetchRequest.get<
|
||||
IResponse<{
|
||||
rechargeRate: number
|
||||
commissionRate: number
|
||||
withdrawRateOfRecharge: number
|
||||
withdrawRateOfEarn: number
|
||||
}>
|
||||
>('/prod-api/app-api/pay/wallet/get-config', {})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user