shish hace 8 meses
padre
commit
1fd4e2eda4
Se han modificado 1 ficheros con 1 adiciones y 7 borrados
  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('请填写正确的订花人手机号');
                 util::fail('请填写正确的订花人手机号');
             }
             }
         }
         }
-
         $hasPay = $post['hasPay'] ?? dict::getDict('hasPay', 'unPay');
         $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;
         $forward = $post['forward'] ?? 0;
         if ($forward == 1) {
         if ($forward == 1) {
             if ($hasPay != 1) {
             if ($hasPay != 1) {