From 32ae81a6592cab4ed05f990ee278333c6e0ee327 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Fri, 16 Jun 2023 22:31:25 +0800 Subject: [PATCH] yh --- app/Controller/Recharge/RechargeController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Controller/Recharge/RechargeController.php b/app/Controller/Recharge/RechargeController.php index c0c5f9c..ebcb6c9 100644 --- a/app/Controller/Recharge/RechargeController.php +++ b/app/Controller/Recharge/RechargeController.php @@ -326,9 +326,9 @@ class RechargeController extends AbstractController if (empty($log)) { throw new BusinessException('预支付记录不存在'); } - if ($log->created_at->timestamp < time() - 5*60) { - throw new BusinessException('支付超时,请重新请求'); - } + // if ($log->created_at->timestamp < time() - 5*60) { + // throw new BusinessException('支付超时,请重新请求'); + // } $app = App::where('app_id', $log->app_id)->first(); if (empty($app)) { throw new BusinessException('应用异常');