diff --git a/addons/shopro/controller/order/Order.php b/addons/shopro/controller/order/Order.php index 343d581..f2eaa2e 100755 --- a/addons/shopro/controller/order/Order.php +++ b/addons/shopro/controller/order/Order.php @@ -85,6 +85,11 @@ class Order extends Common // 更新包裹信息(5分钟缓存) (new ExpressLib)->updateOrderExpress($order['id']); + + //添加自提地址 + $order['zt_address'] = (new Warehouse()) + ->where('id', '=', $order['warehouse_id']) + ->find(); $this->success('获取成功', $order); }