Просмотр исходного кода

仅有pc获取轮询截止时间,删除无用的log日志

吴昊天 2 лет назад
Родитель
Сommit
38e305bc45

+ 1 - 1
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:

+ 0 - 2
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,