From 2c79f57ba8cb4d4350bfb5898e17e16b77a139f8 Mon Sep 17 00:00:00 2001 From: unknown <736250432@qq.com> Date: Fri, 22 Sep 2023 16:31:34 +0800 Subject: [PATCH] update --- app/adminapi/logic/vehicle/VehicleLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];