axios 设置headers token
axios({
method:"put",
url:"....",
data:{"action":"refreshToken"},
headers:{
"Authorization":"Bearer " + oldToken
}
})
axios({
method:"put",
url:"....",
data:{"action":"refreshToken"},
headers:{
"Authorization":"Bearer " + oldToken
}
})