|
|
|
@ -108,7 +108,7 @@ |
|
|
|
|
app.globalData.longitude = res.longitude; |
|
|
|
|
uni.request({ |
|
|
|
|
url: 'https://apis.map.qq.com/ws/geocoder/v1/?location=' + res.latitude + |
|
|
|
|
',' + res.longitude + '&key=YQDBZ-T54K4-5J6U7-DO3BA-CNZJO-PTFMU', |
|
|
|
|
',' + res.longitude + '&key=7UMBZ-HFEHX-HSD4Q-Z3QY6-OQKN7-2QBDB', |
|
|
|
|
data: {}, |
|
|
|
|
success: function(res) { |
|
|
|
|
that.city = res.data.result.address_component.city.replace(/市/g, |
|
|
|
|