shish 2 лет назад
Родитель
Сommit
443637823a
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      biz-hd/purchase/classes/PurchaseClass.php

+ 1 - 3
biz-hd/purchase/classes/PurchaseClass.php

@@ -207,9 +207,7 @@ class PurchaseClass extends BaseClass
         }
         $ghsShopLat = $ghsShop->lat ?? '';
         $ghsShopLong = $ghsShop->long ?? '';
-        if (empty($ghsShopLat) || empty($ghsShopLong)) {
-            util::fail('商家地址有问题');
-        }
+        return true;
         $distance = mapUtil::calculateDistance($shopLong, $shopLat, $ghsShopLong, $ghsShopLat);
         $formatDistance = ceil($distance / 1000);
         if ($formatDistance > 150) {