wx.request post过去的数据 出现object
wx.request post过去的数据 出现object 拿不到原先对象里的数据?
wx.request({
url: ‘https://sharkdemo.com/api/accompany/’,
data: e[0],
header: {
‘content-type’: ‘application/x-www-form-urlencoded’
},
method: ‘POST’,
dataType: ‘json’,
success®{
console.log(r.data)
},
fail®{
console.log(‘error’)
}
})
post过去的数据

php后端:

返回的数据:
