wx.request, 调用接口后url变成其他地址了, 请问是什么原因导致的?
const requestTask = wx.request({
url: https://dd192.net/api/get_userinfo.php,
data: params,
header: {
‘content-type’: ‘application/json’
},success: function (res) {
console.log(res.data)
}
})
success 方法打印的却是
VM770 asdebug.js:1 GET https://dd192.net/api/4g.php 404 (Not Found)
请问这个什么原因导致的?