Browse Source

不处理货拉拉回调是 "event_type":"ORDER_CANCELLED"

shizhongqi 7 months ago
parent
commit
638ecfc050
1 changed files with 2 additions and 2 deletions
  1. 2 2
      common/components/delivery/platform/huolala/CallBackHandler.php

+ 2 - 2
common/components/delivery/platform/huolala/CallBackHandler.php

@@ -128,7 +128,7 @@ class CallBackHandler
     {
         $eventType = strtolower($eventType);
         $map = [
-            'order_cancelled' => -1, // 官方接口文档未更新,做下返回数据兼容
+            //'order_cancelled' => -1, // 官方接口文档未更新,做下返回数据兼容
             'order_cancel' => -1,
             'pickup' => 20,
             'driver_reject' => 2,
@@ -163,7 +163,7 @@ class CallBackHandler
         $map = [
             // 取消状态 (订单终态)
             'order_cancel' => 2,        // 订单取消 -> 已取消 改为 待配送(配送的取消不等于订单的取消,由于 status 带有配送状态,所以改为:待配送)
-            'order_cancelled' => 2,     // 官方接口文档未更新,做下返回数据兼容
+            //'order_cancelled' => 2,     // 官方接口文档未更新,做下返回数据兼容
 
             // 回到待配送状态 (可重新派单)
             'no_load_cancel' => 2,      // 未装货取消 -> 待配送