新讨论测试修改
This commit is contained in:
@@ -10,7 +10,7 @@ axios.defaults.withCredentials = true
|
||||
axios.interceptors.request.use( //响应拦截
|
||||
async config => {
|
||||
// 开发时登录用的,可以直接替换小程序的 authorization
|
||||
config['headers']['authorization'] = process.env.NODE_ENV !== "production" && "c1fb97e6994539d87922b1b60c09d43c"
|
||||
config['headers']['authorization'] = process.env.NODE_ENV !== "production" && "287ad69d214c091fe46fbe995b6a8fc5"
|
||||
// config['headers']['authorization'] = "2lfrtq7h3ge634pl4ptlu2pbh2"
|
||||
return config;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user