|
|
@@ -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) {
|