wx.request使用delete,参数默认带入request body,为何不是在url中?
wx.request({
url: "xxxx",
data: {gpsId: "xx"},
method: "delete",
header: {'content-type': 'application/json'},
success:(res)=>{}
})
wx.request({
url: "xxxx",
data: {gpsId: "xx"},
method: "delete",
header: {'content-type': 'application/json'},
success:(res)=>{}
})