From b9d3cd09a3cc230290078ca6d03dac99eed5ded2 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Tue, 22 Aug 2023 16:32:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E6=8A=A5=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/UserService.php | 1 + extend/Tencent/map/Location.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Services/UserService.php b/app/Services/UserService.php index 17f3604..8fa73d7 100644 --- a/app/Services/UserService.php +++ b/app/Services/UserService.php @@ -614,6 +614,7 @@ class UserService extends BaseService } } }catch (\Exception $e){ + dump($e->getMessage()); return success(); } diff --git a/extend/Tencent/map/Location.php b/extend/Tencent/map/Location.php index d8b8838..b455569 100644 --- a/extend/Tencent/map/Location.php +++ b/extend/Tencent/map/Location.php @@ -66,7 +66,7 @@ class Location { $query = [ "key" => config("tencent_map.secret"), - "location" => $lon . "," . $lat, + "location" => $lat . "," . $lon, ]; $path = "https://apis.map.qq.com" . $this->getSign("/ws/geocoder/v1",$query);