diff --git a/app/adminapi/logic/vehicle/VehicleLogic.php b/app/adminapi/logic/vehicle/VehicleLogic.php index 4f2c32b8..66a2caa8 100644 --- a/app/adminapi/logic/vehicle/VehicleLogic.php +++ b/app/adminapi/logic/vehicle/VehicleLogic.php @@ -205,7 +205,7 @@ class VehicleLogic extends BaseLogic $basic = array_merge($info,$rent,$logistic); //获取商品 - $goods = Product::field('product_num,cart_info')->where('order_id', $params['order_id'])->where('order_sn',$logistic['order_sn'])->select()->each(function($pro_item){ + $goods = Product::field('product_num,cart_info')->where('order_id', $params['order_id'])->select()->each(function($pro_item){ $pro_item['cart_info'] = json_decode($pro_item['cart_info'], true); $pro_item['goods_name'] = $pro_item['cart_info']['product']['store_name']; $pro_item['goods_unit'] = $pro_item['cart_info']['product']['unit_name'];