Ver Fonte

Merge branch 'master' into dev

shish há 11 meses atrás
pai
commit
b4d395ba20
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      biz/shop/classes/ShopClass.php

+ 2 - 2
biz/shop/classes/ShopClass.php

@@ -33,12 +33,12 @@ class ShopClass extends BaseClass
         $address = $shop->address ?? '';
         $address = $shop->address ?? '';
         $hasMap = dict::getDict('hasMap');
         $hasMap = dict::getDict('hasMap');
         $shopId = $shop->id;
         $shopId = $shop->id;
-        $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true, null, 'id,shopId,thirdSendFeeZd');
+        $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true, null, 'id,shopId,thirdSendFee');
         $openIntraCity = 0;
         $openIntraCity = 0;
         //有地图功能
         //有地图功能
         if ($hasMap == 1) {
         if ($hasMap == 1) {
             //有地址功能,并且叫跑腿功能开启
             //有地址功能,并且叫跑腿功能开启
-            if ($ext->thirdSendFeeZd == 1) {
+            if ($ext->thirdSendFee == 1) {
                 if (!empty($lat) && !empty($long) && !empty($address)) {
                 if (!empty($lat) && !empty($long) && !empty($address)) {
                     if (!empty($wxStoreId)) {
                     if (!empty($wxStoreId)) {
                         $openIntraCity = 1;
                         $openIntraCity = 1;