|
@@ -211,6 +211,12 @@ class MtController extends PublicController
|
|
|
//服务费和手续费
|
|
//服务费和手续费
|
|
|
$serviceFee = bcadd($foodShareFeeChargeByPoi, $performanceServiceFee, 2);
|
|
$serviceFee = bcadd($foodShareFeeChargeByPoi, $performanceServiceFee, 2);
|
|
|
$thirdSn = $post['day_seq'] ?? 0;
|
|
$thirdSn = $post['day_seq'] ?? 0;
|
|
|
|
|
+
|
|
|
|
|
+ $estimate_arrival_time = $post['estimate_arrival_time'] ?? 0;
|
|
|
|
|
+ $reachPeriod = date("H:i", $estimate_arrival_time);
|
|
|
|
|
+ $reachDate = date("Y-m-d", $estimate_arrival_time);
|
|
|
|
|
+ $reachTime = $estimate_arrival_time;
|
|
|
|
|
+
|
|
|
$orderData = [
|
|
$orderData = [
|
|
|
'product' => $productList,
|
|
'product' => $productList,
|
|
|
'fromType' => dict::getDict('fromType', 'mt'),
|
|
'fromType' => dict::getDict('fromType', 'mt'),
|
|
@@ -223,6 +229,9 @@ class MtController extends PublicController
|
|
|
'serviceFee' => $serviceFee,
|
|
'serviceFee' => $serviceFee,
|
|
|
'thirdSn' => $thirdSn,
|
|
'thirdSn' => $thirdSn,
|
|
|
'cover' => $orderCover,
|
|
'cover' => $orderCover,
|
|
|
|
|
+ 'reachTime' => $reachTime,
|
|
|
|
|
+ 'reachDate' => $reachDate,
|
|
|
|
|
+ 'reachPeriod' => $reachPeriod,
|
|
|
];
|
|
];
|
|
|
$hasPay = dict::getDict('hasPay', 'payed');
|
|
$hasPay = dict::getDict('hasPay', 'payed');
|
|
|
OrderService::createFinishOrder($orderData, $custom, $hasPay);
|
|
OrderService::createFinishOrder($orderData, $custom, $hasPay);
|