0 && $tx_hash) { $stmt = db()->prepare("INSERT INTO transactions (account_id, transaction_type, amount, tx_hash, status) VALUES (?, 'deposit', ?, ?, 'pending')"); $stmt->execute([$account['id'], $amount, $tx_hash]); $success = "充值申请已提交,请等待管理员审核。"; } else { $error = "请填写完整信息。"; } } include 'header.php'; ?>
温馨提示: