shish 4 лет назад
Родитель
Сommit
fa6d663bf4
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      app-hd/controllers/MtController.php

+ 10 - 0
app-hd/controllers/MtController.php

@@ -115,6 +115,12 @@ class MtController extends PublicController
             $caution = $post['caution'] ?? '';
             $remark = $caution;
 
+            $bookMobile = $post['order_phone_number'] ?? '';
+
+            $receiveMobile = $post['recipient_phone'] ?? '';
+            $receiveUserName = $post['recipient_name'] ?? '';
+            $fullAddress = $post['recipient_address'] ?? '';
+
             $orderCover = '';
 
             $goodsNum = 0;
@@ -238,6 +244,10 @@ class MtController extends PublicController
                 'reachPeriod' => $reachPeriod,
                 'remark' => $remark,
                 'goodsNum' => $goodsNum,
+                'bookMobile' => $bookMobile,
+                'receiveMobile' => $receiveMobile,
+                'receiveUserName' => $receiveUserName,
+                'fullAddress' => $fullAddress,
             ];
             $hasPay = dict::getDict('hasPay', 'payed');
             OrderService::createFinishOrder($orderData, $custom, $hasPay);