six_005
This commit is contained in:
@@ -29,7 +29,6 @@ class 小程序用户的位置接口ViewSets(ViewSet):
|
||||
经度 = pydash.get(obj=result, path="longitude")
|
||||
print("\n🍎 🍏 🍊 🍎 🍏 🍊 🍎 🍏 🍊 🍎 用户的定位的数据", result)
|
||||
地图解析结果 = wei地图工具.经纬度转换为地址(location=f"{纬度},{经度}")
|
||||
print(地图解析结果, "=============")
|
||||
省 = pydash.get(obj=地图解析结果, path="result.address_component.province")
|
||||
市 = pydash.get(obj=地图解析结果, path="result.address_component.city")
|
||||
区 = pydash.get(obj=地图解析结果, path="result.address_component.district")
|
||||
|
||||
Reference in New Issue
Block a user