dever 3 years ago
parent
commit
c25e039aca
1 changed files with 1 additions and 3 deletions
  1. 1 3
      app/shop/src/Main.php

+ 1 - 3
app/shop/src/Main.php

@@ -113,9 +113,7 @@ class Main extends Core
 
         # 获取门店
         $this->data['shop'] = array();
-        if ($city && $lng && $lat) {
-            $this->data['shop'] = Dever::load('shop/lib/info')->get($city, $lng, $lat);
-        }
+        $this->data['shop'] = Dever::load('shop/lib/info')->get($city, $lng, $lat);
 
         # 焦点图
         $this->data['focus'] = Dever::load('push/lib/data')->get('home_focus', '首页焦点图', 5);