Explorar o código

跑腿更新经纬度

shish hai 10 meses
pai
achega
d53655fb2c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app-hd/controllers/IntraCityController.php

+ 1 - 1
app-hd/controllers/IntraCityController.php

@@ -140,6 +140,7 @@ class IntraCityController extends BaseController
         if (empty($wxStoreId)) {
             util::fail('未创建门店,请先创建');
         }
+        $shop = $this->shop;
 
         $adminId = $this->adminId;
         util::checkRepeatCommit($adminId, 4);
@@ -151,7 +152,6 @@ class IntraCityController extends BaseController
             util::fail('地址缺失,请修改');
         }
 
-        $shop = $this->shop;
         $shopName = $shop->shopName ?? '';
         $sjName = $shop->merchantName ?? '';
         $name = $shopName == '首店' ? $sjName : $sjName . ' ' . $shopName;