uni.request({
url:接口地址,
method: 'get',
dataType: 'json',
success: (res) => {
console.log(res.data);
}
})
控制台效果
uni.request({
url:接口地址,
method: 'get',
dataType: 'json',
success: (res) => {
console.log(res.data);
}
})
控制台效果