From 66e587d6301302d37e00ee0ff682ad43c626d9d4 Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Thu, 10 Sep 2020 16:47:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/v3/OrderOnlineController.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Controller/v3/OrderOnlineController.php b/app/Controller/v3/OrderOnlineController.php index 1d6397a..7f90422 100644 --- a/app/Controller/v3/OrderOnlineController.php +++ b/app/Controller/v3/OrderOnlineController.php @@ -91,9 +91,11 @@ class OrderOnlineController extends BaseController ['user_id','=',$userId], ['is_default','=',1], ]) - ->select('id') ->first(); - $res['location'] = $this->userAddressService->getAddressAndDistributionPrice($address->id,$marketId); + $res['location'] = [ + 'address' => $address, + 'distribution_price' => 0 + ]; //返回预约送达时间 数组 $res['appointment_time'] = $this->appointmentTimeService->do(); //