axios({
method:"put",
url:"....",
data:{"action":"refreshToken"},
headers:{
"Authorization":"Bearer " + oldToken
}
})
axios({
method:"put",
url:"....",
data:{"action":"refreshToken"},
headers:{
"Authorization":"Bearer " + oldToken
}
})
转载于:https://www.cnblogs.com/yysbolg/p/11095839.html