From 38e305bc452aaff4ce624ad9b3a1daec922ff199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Wed, 22 Feb 2023 15:12:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=85=E6=9C=89pc=E8=8E=B7=E5=8F=96=E8=BD=AE?= =?UTF-8?q?=E8=AF=A2=E6=88=AA=E6=AD=A2=E6=97=B6=E9=97=B4=EF=BC=8C=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=97=A0=E7=94=A8=E7=9A=84log=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/pay/OrderPayServices.php | 2 +- crmeb/crmeb/services/pay/storage/V3WechatPay.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crmeb/app/services/pay/OrderPayServices.php b/crmeb/app/services/pay/OrderPayServices.php index 35e61906d..9375255ea 100644 --- a/crmeb/app/services/pay/OrderPayServices.php +++ b/crmeb/app/services/pay/OrderPayServices.php @@ -186,7 +186,7 @@ class OrderPayServices $payKey = md5($order['order_id']); switch ($payType) { case PayServices::ALIAPY_PAY: - $jsConfig->invalid = time() + 60; + if (request()->isPc()) $jsConfig->invalid = time() + 60; CacheService::set($payKey, ['order_id' => $order['order_id'], 'other_pay_type' => false], 300); break; case PayServices::ALLIN_PAY: diff --git a/crmeb/crmeb/services/pay/storage/V3WechatPay.php b/crmeb/crmeb/services/pay/storage/V3WechatPay.php index 31a5bbdc5..60d0af760 100644 --- a/crmeb/crmeb/services/pay/storage/V3WechatPay.php +++ b/crmeb/crmeb/services/pay/storage/V3WechatPay.php @@ -201,8 +201,6 @@ class V3WechatPay extends BasePay implements PayInterface { return $this->instance->v3pay->handleNotify(function ($notify, $successful) { - Log::info('支付回调:' . json_encode($notify)); - if ($successful) { $data = [ 'attach' => $notify->attach,