mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-01 03:48:24 +00:00
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:
@@ -20,3 +20,5 @@ export const checkBalancePayResult = (payId: string) =>
|
||||
} catch (error) {}
|
||||
return data;
|
||||
});
|
||||
|
||||
export const balanceConversion = () => GET<string>(`/proApi/support/wallet/bill/balanceConversion`);
|
||||
|
Reference in New Issue
Block a user