//
wx.request({
url: "http://api.map.baidu.com/geocoder",
data: {
location: "22.53901657788418,113.93694993069373",
output: "json",
key // key
},
success: function ({ data: res }) {
if (res.result) {
that.setData({
address: res.result.formatted_address
})
}
}
})