feat(payment): 支持动态获取支付链接货币与计费国家的映射

This commit is contained in:
cnlimiter
2026-03-28 00:05:05 +08:00
parent 8d979894bf
commit 4ed740e1be
6 changed files with 40 additions and 12 deletions

View File

@@ -95,10 +95,12 @@ async function generateLink() {
const country = document.getElementById('country-select').value || 'SG';
const currency = countryCurrencyMap[country] || '';
const body = {
account_id: parseInt(accountId),
plan_type: selectedPlan,
country: country,
currency: currency,
};
if (selectedPlan === 'team') {