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

+ 3 - 0
app-hd/controllers/OrderController.php

@@ -436,6 +436,9 @@ class OrderController extends BaseController
             util::fail('没有找到客户哦');
         }
         $post['customId'] = $customId;
+        $customName = $custom['name'] ?? '';
+        $post['customName'] = $customName;
+        $post['customNamePy'] = stringUtil::py($customName);
 
         if (isset($post['receiveMobile']) && !empty($post['receiveMobile'])) {
             if (stringUtil::isMobile($post['receiveMobile']) == false) {