Browse Source

添加立即送达

master
Mike 5 years ago
parent
commit
be6498a12e
  1. 4
      app/Controller/v3/OrderOnlineController.php

4
app/Controller/v3/OrderOnlineController.php

@ -124,7 +124,9 @@ class OrderOnlineController extends BaseController
]; ];
} }
//返回预约送达时间 数组 //返回预约送达时间 数组
$res['appointment_time'] = $this->appointmentTimeService->get($shopcartIds);
$ret = $this->appointmentTimeService->get($shopcartIds);
array_unshift($ret,['title'=>'尽快送达','value'=>'尽快送达']);
$res['appointment_time'] = $ret;
$res['store_list'] = $this->shopCartService->getGoodsByShopcartId($shopcartIds); $res['store_list'] = $this->shopCartService->getGoodsByShopcartId($shopcartIds);
//获取用户优惠券 //获取用户优惠券

Loading…
Cancel
Save