Browse Source

订单回传上报加try块

zqwang 2 years ago
parent
commit
ef7714f8b0
1 changed files with 6 additions and 1 deletions
  1. 6 1
      app/Modules/Trade/Pay/PaySuccessAbstract.php

+ 6 - 1
app/Modules/Trade/Pay/PaySuccessAbstract.php

@@ -121,6 +121,11 @@ abstract class PaySuccessAbstract
 
         // 同步数据
         $this->order->distribution_channel_id = getProp($quickSendOrder, 'distribution_channel_id');
-        ReportService::reportRecharge($this->order);
+        try {
+            ReportService::reportRecharge($this->order);
+        }catch (Exception $exception){
+            Log::error('pay.success-addQueue-err: 同步数据异常' . $exception->getMessage() . ' ' . $exception->getTraceAsString());
+        }
+
     }
 }