Commit 3be9b06d authored by 郭铭瑶's avatar 郭铭瑶 🤘

会后api改动

parent b52e945f
This diff is collapsed.
This diff is collapsed.
...@@ -10,9 +10,7 @@ const Axios = axios.create({ ...@@ -10,9 +10,7 @@ const Axios = axios.create({
Axios.interceptors.request.use( Axios.interceptors.request.use(
(config) => { (config) => {
// 添加token // 添加token
config.headers.authorization = LZString.decompressFromEncodedURIComponent( config.headers.authorization = api.TOKEN
api.TOKEN,
)
return config return config
}, },
(error) => { (error) => {
......
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