diff --git a/agent/admin/controllers/auto/Config.php b/agent/admin/controllers/auto/Config.php index 532bbb59..b9e1734c 100644 --- a/agent/admin/controllers/auto/Config.php +++ b/agent/admin/controllers/auto/Config.php @@ -101,7 +101,8 @@ class Config extends BaseController $result = $tcGeocoder->reverseGeocode($latitude, $longitude); debug_log("解析结果:" . json_encode($result), 'local.log'); if (!$result) { - $this->return_json('地址解析失败'); + $this->return_response($data); +// $this->return_json('地址解析失败'); } $adcode = $result['ad_info']['adcode']; $row = $this->area_model->get(['county_id' => $adcode]);