uni.request({
url: "https://restapi.amap.com/v3/geocode/regeo",
method: "GET",
data: {
key: 'your key',
location: '116.481488,39.990464',
},
header: {
"Content-Type": "application/x-www-form-urlencoded",
},
success: res => {
console.log(res)
}
});
项目中遇到了一些类似于直播需要与原生进行混合开发的时候,前端应该怎么做?