shizhongqi 7 maanden geleden
bovenliggende
commit
53c007c437

+ 1 - 1
app-ghs/controllers/DeliveryController.php

@@ -672,7 +672,7 @@ class DeliveryController extends BaseController
             }
             return $this->asJson(['error_code' => 0, 'error_msg' => 'success']);
         } else {
-            Yii::error('顺丰回调失败: ' . json_encode($post, JSON_UNESCAPED_UNICODE));
+            Yii::error('滴滴回调失败: ' . json_encode($post, JSON_UNESCAPED_UNICODE));
             return $this->asJson(['error_code' => -1, 'error_msg' => 'failed']);
         }
     }

+ 1 - 1
common/components/delivery/platform/didi/CallBackHandler.php

@@ -194,7 +194,7 @@ class CallBackHandler
         // 查找配送订单
         $deliveryOrder = $this->getDeliveryOrder($order, $isGhs);
         if (!$deliveryOrder) {
-            Yii::error('滴滴配送订单不存在: orderSn=' . $outOrderNo . ' ghsOrderId=' . $order->id, 'didi-callback');
+            Yii::error("滴滴配送订单不存在: orderSn={$outOrderNo}, isGhs={$isGhs}, ghsOrderId={$order->id}", 'didi-callback');
             return false;
         }