shish 7 месяцев назад
Родитель
Сommit
1fd4e2eda4
1 измененных файлов с 1 добавлено и 7 удалено
  1. 1 7
      app-hd/controllers/OrderController.php

+ 1 - 7
app-hd/controllers/OrderController.php

@@ -615,14 +615,8 @@ class OrderController extends BaseController
                 util::fail('请填写正确的订花人手机号');
             }
         }
-
         $hasPay = $post['hasPay'] ?? dict::getDict('hasPay', 'unPay');
-
-        if (isset($post['isCashier']) && $post['isCashier'] == 1) {
-            //收银台开单默认到店自取
-            $post['sendType'] = dict::getDict('sendType', 'shopGet');
-        }
-
+        $post['sendType'] = $post['sendType'] ?? 1;
         $forward = $post['forward'] ?? 0;
         if ($forward == 1) {
             if ($hasPay != 1) {