shizhongqi 7 luni în urmă
părinte
comite
0a979c8ea8
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      common/components/delivery/services/DispatchService.php

+ 3 - 3
common/components/delivery/services/DispatchService.php

@@ -497,7 +497,7 @@ class DispatchService
             'user_lng' => (string)$order['long'],                    // 用户地址经度
             'user_lat' => (string)$order['lat'],                     // 用户地址纬度
             'user_address' => $order['fullAddress'],                 // 用户详细地址
-            'weight' => $order['weight'] * 1000,                            // 物品重量(单位:克)
+            'weight' => $order['weight'] * 1000,                     // 物品重量(单位:克)
             'product_type' => 4,                                     // 物品类型(4:鲜花绿植)
             'push_time' => time(),                                   // 推单时间(秒级时间戳)
             'shop' => [                                              // 发货店铺信息
@@ -522,8 +522,8 @@ class DispatchService
             'is_person_direct' => 0,                                 // 是否专人直送(0:否)
             'vehicle' => 0,                                          // 配送交通工具(0:否)
             //'four_wheeler_type' => 0,                                // 车型 -- 只有vehicle = 2,⻋型字段才有效。
-            'declared_value' => 0,                                   // 保价金额(单位:分)
-            'gratuity_fee' => 0,                                     // 订单小费(单位:分)
+            //'declared_value' => 0,                                   // 保价金额(单位:分)
+            //'gratuity_fee' => 0,                                     // 订单小费(单位:分)
             'rider_pick_method' => 1,                                // 物流流向(1:从门店取件送至用户)
             'return_flag' => 511,                                    // 返回字段控制标志位(511:全部返回)
             'multi_pickup_info' => [],                               // 多点取货信息(暂不使用)