shish 11 tháng trước cách đây
mục cha
commit
f6d99c77e5
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      app-hd/controllers/IntraCityController.php

+ 2 - 1
app-hd/controllers/IntraCityController.php

@@ -360,6 +360,7 @@ class IntraCityController extends BaseController
             }
 
             $sn = $order['orderSn'];
+            $salt = $order['salt'] ?? "";
             $itemInfoList = OrderItemClass::getListBySn($sn, 'id, name, cover, num');
             $itemList = [];
             $orderType = 2; // 默认是 2。说明:1花束订单 2花材订单 3花束和花材都有
@@ -457,7 +458,7 @@ class IntraCityController extends BaseController
                 'user_phone' => $post['user_phone'],
                 'order_seq' => $order['sendNum'], // 用于配送员快速寻找到匹配的商品(非必传) -- 对应 xhOrder 表的 sendNum
                 'verify_code_type' => 0,
-                'order_detail_path' => '/admin/order/detail?id=' . $orderId, // TODO 使用花掌柜的地址,后期要重新选个地址
+                'order_detail_path' => '/admin/order/info?id=' . $orderId . '&salt=' . $salt,
                 'callback_url' => $callbackUrl, // 订单状态回调地址(非必传)
                 //'use_sandbox' => getenv('YII_ENV') == 'production' ? 0 : 1, // 是否使用沙箱(非必传)
                 'cargo' => $cargo