修复支付系统核心问题

- pay.php: 超时时间从30分钟改为5分钟
- poller_online.php: 修复debugLog未定义变量+保留输出缓冲区
- recharge_orders_api.php: 修复对账结果JSON双重包装
- player.php: 支付成功后锁定按钮+续支付检测处理已支付订单

解决:
1. 订单超时改为5分钟
2. Java轮询500错误(debugLog变量未定义)
3. 对账结果显示undefined
4. 支付成功后按钮状态修复
This commit is contained in:
ypsdf1
2026-07-15 19:23:51 +08:00
parent 8f54e3ffc6
commit 1cd8415516
4 changed files with 48 additions and 30 deletions
+4 -1
View File
@@ -140,7 +140,10 @@ function handleReconcile() {
error('对账脚本执行异常');
}
success($result);
// 直接输出结果,不再用 success() 包装(避免双重 JSON)
header('Content-Type: application/json; charset=utf-8');
echo json_encode($result, JSON_UNESCAPED_UNICODE);
exit;
}
/**