我用wx.request为什么改不了发送模式
wx.request({
url: Api.staffswork + wx.getStorageSync(‘token’),
data: {
today: date
},
method: ‘POST’,
success: function(res){
}
})
这明明是POST却一直返回无法get的错误
4 回复
设置post请求后一直“asdebug.js:1 GET https://api.clock.newteo.com/company/staffs/day?token=eyJhbGciOiJIUzI1NiIsI…TE5NDEsImV4cCI6MTQ4ODg1Njc0MX0.55MAGxQ2PgHQx_4PRab7VWjevgxnTWEmJrWN_5a6HRs 404 (Not Found)“
我都蒙了