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

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

@@ -112,6 +112,9 @@ class MtController extends PublicController
                 return Json::encode(['data' => 'ok']);
             }
 
+            $caution = $post['caution'] ?? '';
+            $remark = $caution;
+
             $orderCover = '';
 
             foreach ($mtGoodsData as $mtKey => $mtGoods) {
@@ -232,6 +235,7 @@ class MtController extends PublicController
                 'reachTime' => $reachTime,
                 'reachDate' => $reachDate,
                 'reachPeriod' => $reachPeriod,
+                'remark' => $remark,
             ];
             $hasPay = dict::getDict('hasPay', 'payed');
             OrderService::createFinishOrder($orderData, $custom, $hasPay);