From 4dbe71093faeeddeec7305e1af9085d148854c19 Mon Sep 17 00:00:00 2001 From: lcc <805383944@qq.com> Date: Tue, 14 Oct 2025 20:53:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=9A=E4=BD=8D=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent/admin/controllers/auto/Config.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/agent/admin/controllers/auto/Config.php b/agent/admin/controllers/auto/Config.php index 315369c7..73bcf64d 100644 --- a/agent/admin/controllers/auto/Config.php +++ b/agent/admin/controllers/auto/Config.php @@ -75,10 +75,10 @@ class Config extends BaseController public function city_get() { $data = [ - 'provinceId' => '', - 'provinceName' => '', - 'cityId' => '', - 'cityName' => '全国', + 'provinceId' => '350200', + 'provinceName' => '福建省', + 'cityId' => '350200', + 'cityName' => '厦门市', ]; $latitude = $this->input_param('latitude'); $longitude = $this->input_param('longitude'); @@ -87,6 +87,7 @@ class Config extends BaseController } $tcGeocoder = new TcGeocoder(); $result = $tcGeocoder->reverseGeocode($latitude, $longitude); + debug_log("解析结果:".json_encode($result),'local.log'); if (!$result) { $this->return_json('地址解析失败'); }