From 92c22b3893580bc0cb42ff5cb63f9bf74b41ebce Mon Sep 17 00:00:00 2001 From: unknown <736250432@qq.com> Date: Tue, 17 Oct 2023 18:04:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E7=A7=9F=E8=B5=81=E5=90=88?= =?UTF-8?q?=E5=90=8C=E5=B1=95=E7=A4=BA=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 83e10a68..2f7f7f74 100644 --- a/app/adminapi/logic/vehicle/VehicleLogic.php +++ b/app/adminapi/logic/vehicle/VehicleLogic.php @@ -124,7 +124,7 @@ class VehicleLogic extends BaseLogic //获取租赁信息 $rentInfo = VehicleRent::where('car_id',$data['id'])->findOrEmpty()->toArray(); $contract = Contract::where('id',$rentInfo['contract_id'])->findOrEmpty(); - $rentInfo['contract_file'] = $contract['file']; + $rentInfo['contract_file'] = $contract['contract_url']; $data['rent_info'] = !empty($rentInfo) ? $rentInfo : []; //获取物流信息 $logistic = Logistics::field('order_id,order_sn,shop_name,user_name,receiver_address,qh_time,ps_time')->where('courier_id',$rentInfo['use_user_id'])->where('status',1)->limit(10)->select()->each(function($item){