From 194fc7a77153ffd4a889beeb0bae970e55e7e94c Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sun, 22 Feb 2026 04:41:44 +0000 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/customer_service.php | 10 +++++++++- recharge.php | 28 ++++++++++++---------------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/admin/customer_service.php b/admin/customer_service.php index 88a0aee..d292a26 100644 --- a/admin/customer_service.php +++ b/admin/customer_service.php @@ -251,6 +251,10 @@ ob_start();
填写后点击发送,前端充值弹窗将自动切换并显示此账户。
+
+ + +
@@ -613,6 +617,7 @@ async function notifyMatchSuccess() { const bank = document.getElementById('pay-bank').value.trim(); const name = document.getElementById('pay-name').value.trim(); const account = document.getElementById('pay-account').value.trim(); + const amount = document.getElementById('pay-amount').value.trim(); if (!bank || !name || !account) { alert('请完整填写收款信息(银行、姓名、账号)'); @@ -624,6 +629,7 @@ async function notifyMatchSuccess() { fd.append('bank', bank); fd.append('name', name); fd.append('account', account); + if (amount) fd.append('amount', amount); try { const r = await fetch('/api/admin_recharge.php?action=match_success', { method: 'POST', body: fd }); @@ -641,6 +647,7 @@ async function sendPaymentInfo() { const bank = document.getElementById('pay-bank').value.trim(); const name = document.getElementById('pay-name').value.trim(); const account = document.getElementById('pay-account').value.trim(); + const amount = document.getElementById('pay-amount').value.trim(); if (!bank || !name || !account) { alert('请完整填写收款信息'); @@ -652,9 +659,10 @@ async function sendPaymentInfo() { fd.append('bank', bank); fd.append('name', name); fd.append('account', account); + if (amount) fd.append('amount', amount); try { - console.log('Sending account info...', { bank, name, account }); + console.log('Sending account info...', { bank, name, account, amount }); const r = await fetch('/api/admin_recharge.php?action=send_account', { method: 'POST', body: fd }); const res = await r.json(); diff --git a/recharge.php b/recharge.php index 105eea8..9b23d8f 100644 --- a/recharge.php +++ b/recharge.php @@ -147,20 +147,6 @@ $bep20_addr = $settings['usdt_bep20_address'] ?? '0x742d35Cc6634C0532925a3b844Bc
-
-
- QR Code -
-
- - -
-

- - -

-
-
@@ -170,7 +156,7 @@ $bep20_addr = $settings['usdt_bep20_address'] ?? '0x742d35Cc6634C0532925a3b844Bc
@@ -192,6 +178,11 @@ $bep20_addr = $settings['usdt_bep20_address'] ?? '0x742d35Cc6634C0532925a3b844Bc
+ +