feat(fe): balance conversion button and modal (#2491)

* feat: add balance conversion api declaration

* feat(fe): add conversion modal

* fix: show button when standplan and the user has manage permission

* feat: hide balance when <= 0
This commit is contained in:
Finley Ge
2024-08-23 17:14:07 +08:00
committed by GitHub
parent 6288dc9492
commit eaaf6f5978
7 changed files with 165 additions and 42 deletions

View File

@@ -20,3 +20,5 @@ export const checkBalancePayResult = (payId: string) =>
} catch (error) {}
return data;
});
export const balanceConversion = () => GET<string>(`/proApi/support/wallet/bill/balanceConversion`);