Browse Source

一些功能

Kirin 3 years ago
parent
commit
acae3e80a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/models/store/StoreOrder.php

+ 2 - 2
app/models/store/StoreOrder.php

@@ -314,8 +314,8 @@ class StoreOrder extends BaseModel
                 $addressInfo['detail'] = '';
             }
 
-            if (!$storeId && !$test) return self::setErrorInfo('请选择下单门店!', true);
-            if (!SystemStore::verificWhere()->find($storeId) && !$test) return self::setErrorInfo('请选择正确的下单门店!', true);
+            if (!$storeId && !$test && !$free_check) return self::setErrorInfo('请选择下单门店!', true);
+            if (!SystemStore::verificWhere()->find($storeId) && !$test && !$free_check) return self::setErrorInfo('请选择正确的下单门店!', true);
 
             $cartIds = [];
             $totalNum = 0;