修改token
This commit is contained in:
parent
1ae42a3c2a
commit
3169e5b8e6
|
@ -41,7 +41,7 @@ const install = (Vue, vm) => {
|
|||
// 方式四,如果token放在了Storage本地存储中,拦截是每次请求都执行的
|
||||
// 所以哪怕您重新登录修改了Storage,下一次的请求将会是最新值
|
||||
// const token = uni.getStorageSync('token');
|
||||
const token = "Bearer e33c7c66dd374ea3a07312503d548978"
|
||||
const token = "Bearer cd3f47ecdcb0411c867d3cb4df961f40"
|
||||
// console.log("我是token", token)
|
||||
config.header.Authorization = token;
|
||||
// #ifdef H5
|
||||
|
|
Loading…
Reference in New Issue
Block a user