Browse Source

一些功能

Kirin 4 years ago
parent
commit
c13ae0c696
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/store/StoreOrder.php

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

@@ -296,7 +296,7 @@ class StoreOrder extends BaseModel
             $cartInfo = $cartGroup['cartInfo'];
             $priceGroup = $cartGroup['priceGroup'];
             $other = $cartGroup['other'];
-            if ($other['store_id'] != $storeId) {
+            if ($other['store_id'] != $storeId && !$store_order && !$free_check && !$test) {
                 self::clearCacheOrderInfo($uid, $key);
                 return self::setErrorInfo('所选门店改变,请刷新当前页面!', true);
             }