feat: 分站在线充值功能

- 新增 dist_topup.go 控制器,支持易支付/Stripe/Creem/加密货币充值
- 分站模型新增 enable_topup 字段
- 分站前端新增充值页面和导航入口
- 分站设置页新增充值开关
- 添加中英文 i18n 翻译

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
abingyydsandClaude Sonnet 4.6 committed 2026-03-21 15:21:45 +09:00
1 parent a512c4c344
commit e981315543
9 files changed
+515 -2

No files matched your search

+36 -1
View File
@@ -154,6 +154,41 @@
"packages.subscribedSuccess": "Subscribed successfully!",
"common.sessionExpired": "Session expired, please log in again",
"common.requestFailed": "Request failed"
"common.requestFailed": "Request failed",
"nav.topup": "Top Up",
"topup.title": "Top Up",
"topup.subtitle": "Recharge your account balance via online payment or redemption code",
"topup.onlineTopup": "Online Top Up",
"topup.selectAmount": "Select Amount",
"topup.customAmount": "Custom Amount",
"topup.amountPlaceholder": "Enter amount (min ${{min}})",
"topup.paymentMethod": "Payment Method",
"topup.processing": "Processing...",
"topup.calculating": "Calculating...",
"topup.payAmountLabel": "Amount to pay",
"topup.enterAmount": "Please enter a top-up amount",
"topup.paymentSuccess": "Payment successful! Balance updated.",
"topup.orderExpired": "Payment order expired",
"topup.viewHistory": "View History",
"topup.hideHistory": "Hide History",
"topup.history": "Top-Up History",
"topup.noHistory": "No top-up records yet",
"topup.statusSuccess": "Success",
"topup.statusPending": "Pending",
"topup.statusFailed": "Failed",
"topup.redeemTitle": "Redeem Code",
"topup.enterRedeemCode": "Enter redemption code",
"topup.redeeming": "Redeeming...",
"topup.redeem": "Redeem",
"topup.redeemCode": "Redeem Code",
"topup.redeemSuccess": "Code redeemed successfully!",
"topup.cryptoPayment": "Crypto Payment",
"topup.walletAddress": "Wallet Address",
"topup.amount": "Amount",
"topup.chain": "Chain",
"topup.waitingPayment": "Waiting for payment...",
"topup.close": "Close"
}
}
+36 -1
View File
@@ -154,6 +154,41 @@
"packages.subscribedSuccess": "订阅成功!",
"common.sessionExpired": "会话已过期,请重新登录",
"common.requestFailed": "请求失败"
"common.requestFailed": "请求失败",
"nav.topup": "充值",
"topup.title": "充值中心",
"topup.subtitle": "通过在线支付或兑换码为账户充值",
"topup.onlineTopup": "在线充值",
"topup.selectAmount": "选择金额",
"topup.customAmount": "自定义金额",
"topup.amountPlaceholder": "输入金额(最低 ${{min}})",
"topup.paymentMethod": "支付方式",
"topup.processing": "处理中...",
"topup.calculating": "计算中...",
"topup.payAmountLabel": "实付金额",
"topup.enterAmount": "请输入充值金额",
"topup.paymentSuccess": "支付成功!余额已更新。",
"topup.orderExpired": "支付订单已过期",
"topup.viewHistory": "查看记录",
"topup.hideHistory": "隐藏记录",
"topup.history": "充值记录",
"topup.noHistory": "暂无充值记录",
"topup.statusSuccess": "成功",
"topup.statusPending": "待支付",
"topup.statusFailed": "失败",
"topup.redeemTitle": "兑换码充值",
"topup.enterRedeemCode": "请输入兑换码",
"topup.redeeming": "兑换中...",
"topup.redeem": "兑换",
"topup.redeemCode": "兑换码",
"topup.redeemSuccess": "兑换码兑换成功!",
"topup.cryptoPayment": "加密货币支付",
"topup.walletAddress": "钱包地址",
"topup.amount": "金额",
"topup.chain": "链",
"topup.waitingPayment": "等待支付中...",
"topup.close": "关闭"
}
}