WIN-2308041133\Administrator 1 month ago
parent
commit
c1d384ff62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/store/StoreOrder.php

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

@@ -469,7 +469,7 @@ class StoreOrder extends BaseModel
                 'unique' => $key,
                 'shipping_type' => $shipping_type,
             ];
-            if ($shipping_type === 2) {
+            if ((string)$shipping_type === 2) {
                 $orderInfo['verify_code'] = self::getStoreCode();
                 $orderInfo['store_id'] = SystemStore::getStoreDispose($storeId, 'id');
                 if (!$orderInfo['store_id']) return self::setErrorInfo('暂无门店无法选择门店自提!', true);