Browse Source

处理没选地址时的默认选项

master
Lemon 5 years ago
parent
commit
f8ef472ccc
  1. 7
      app/Controller/v3/OrderOnlineController.php

7
app/Controller/v3/OrderOnlineController.php

@ -131,13 +131,14 @@ class OrderOnlineController extends BaseController
}else{ }else{
$res['location'] = [ $res['location'] = [
'address' => '', 'address' => '',
'distribution_price' => 3.5,
'distribution_price' => 0,
'original_price' => 0,
'distance' => $distance, 'distance' => $distance,
'within' => false, 'within' => false,
'style' => 'strike', 'style' => 'strike',
'distribution_text' => '', 'distribution_text' => '',
'distribution_price_text' => '',
'original_price_text' => ''
'distribution_price_text' => '¥ 0',
'original_price_text' => '¥ 0'
]; ];
} }
//返回预约送达时间 数组 //返回预约送达时间 数组

Loading…
Cancel
Save