|
@@ -55,8 +55,9 @@ class Info
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- $data = $this->fetch(false, $city, $lng, $lat, 1, $name, $method);
|
|
|
|
-
|
|
|
|
|
|
+ if ($city) {
|
|
|
|
+ $data = $this->fetch(false, $city, $lng, $lat, 1, $name, $method);
|
|
|
|
+ }
|
|
|
|
|
|
$type = Dever::input('type', 1);
|
|
$type = Dever::input('type', 1);
|
|
if (!$data) {
|
|
if (!$data) {
|