瀏覽代碼

同步快递信息到orderPackage 处理邮政实际待揽收由在途改为已复核 异常

ANG YU 4 年之前
父節點
當前提交
79af7e506f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Traits/LogisticSyncTrait.php

+ 1 - 1
app/Traits/LogisticSyncTrait.php

@@ -199,7 +199,7 @@ trait LogisticSyncTrait
         if ((!empty($logistic_id)) && ($logistic_id === 6 || $logistic_id === 88)) {
         if ((!empty($logistic_id)) && ($logistic_id === 6 || $logistic_id === 88)) {
             if (!empty($transfer_status)) {
             if (!empty($transfer_status)) {
                 $this->sortTransferStatusByAcceptTimeDESC($transfer_status);
                 $this->sortTransferStatusByAcceptTimeDESC($transfer_status);
-                $last_remark = $this->getLastRemark($transfer_status);
+                $last_remark = $this->getLastRemark($transfer_status[0]);
                 if (Str::contains($last_remark, ['等待揽收', '商品已下单'])) {
                 if (Str::contains($last_remark, ['等待揽收', '商品已下单'])) {
                     $data['status'] = '已复核';
                     $data['status'] = '已复核';
                 }
                 }