|
|
@ -853,9 +853,13 @@ class Checkout extends BaseService |
|
|
|
'expect_receive_time' => $this->param['expect_receive_time'],//期待收货时间 |
|
|
|
'expect_receive_time' => $this->param['expect_receive_time'],//期待收货时间 |
|
|
|
'is_street_take' => $this->param['is_street_take'],//是否街边1-在 0-不在 |
|
|
|
'is_street_take' => $this->param['is_street_take'],//是否街边1-在 0-不在 |
|
|
|
'to_store_time' => $this->param['to_store_time'],//预计到店时间 |
|
|
|
'to_store_time' => $this->param['to_store_time'],//预计到店时间 |
|
|
|
|
|
|
|
'linkman' => $this->param['linkman'], |
|
|
|
|
|
|
|
'phone' => $this->param['phone'], |
|
|
|
|
|
|
|
'ziti_address' => !empty($this->param['ziti_address']) ? json_encode($this->param['ziti_address'], JSON_UNESCAPED_UNICODE) : '', |
|
|
|
//添加成本价 |
|
|
|
//添加成本价 |
|
|
|
'cost_price' => $this->getCostPrice($order['goodsList']), |
|
|
|
'cost_price' => $this->getCostPrice($order['goodsList']), |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
// dd($data); |
|
|
|
if ($order['delivery'] == DeliveryTypeEnum::EXPRESS) { |
|
|
|
if ($order['delivery'] == DeliveryTypeEnum::EXPRESS) { |
|
|
|
$data['express_price'] = $order['expressPrice']; |
|
|
|
$data['express_price'] = $order['expressPrice']; |
|
|
|
} elseif ($order['delivery'] == DeliveryTypeEnum::EXTRACT) { |
|
|
|
} elseif ($order['delivery'] == DeliveryTypeEnum::EXTRACT) { |
|
|
|