Commit 01cf62fe authored by 罗超's avatar 罗超

1

parent 74d9bb57
......@@ -84,7 +84,7 @@ service.interceptors.request.use(
const token = Store.state.user?.token
const tokenType = token.token_type
const accessToken = token.access_token
config.headers.Authorization = `${tokenType} ${accessToken}`
config.headers.Token = `${tokenType} ${accessToken}`
}
//TODO:包装一层MSG,但是微服务应该去掉此步骤
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment