修改上报用户地址

This commit is contained in:
wucongxing 2023-08-22 16:32:48 +08:00
parent c1c68f24c2
commit b9d3cd09a3
2 changed files with 2 additions and 1 deletions

View File

@ -614,6 +614,7 @@ class UserService extends BaseService
} }
} }
}catch (\Exception $e){ }catch (\Exception $e){
dump($e->getMessage());
return success(); return success();
} }

View File

@ -66,7 +66,7 @@ class Location
{ {
$query = [ $query = [
"key" => config("tencent_map.secret"), "key" => config("tencent_map.secret"),
"location" => $lon . "," . $lat, "location" => $lat . "," . $lon,
]; ];
$path = "https://apis.map.qq.com" . $this->getSign("/ws/geocoder/v1",$query); $path = "https://apis.map.qq.com" . $this->getSign("/ws/geocoder/v1",$query);