请求头
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -10,7 +10,8 @@ const service = axios.create({ | ... | @@ -10,7 +10,8 @@ const service = axios.create({ |
10 | baseURL: process.env.VUE_APP_BASE_API, | 10 | baseURL: process.env.VUE_APP_BASE_API, |
11 | withCredentials: true, //是否允许跨域 | 11 | withCredentials: true, //是否允许跨域 |
12 | headers: { | 12 | headers: { |
13 | 'Content-Type': 'application/json; charset=utf-8' | 13 | 'Content-Type': 'application/json; charset=utf-8', |
14 | 'Authorization':'bearer AT-16-oqkOHiUSsDdFA-eAZ49k2rJQDTzQpClO' | ||
14 | }, | 15 | }, |
15 | timeout: 15000 | 16 | timeout: 15000 |
16 | }) | 17 | }) | ... | ... |
-
Please register or sign in to post a comment