新讨论测试修改

This commit is contained in:
A1300399510
2025-02-18 19:05:50 +08:00
parent 740ec94346
commit 4250086957
2 changed files with 35 additions and 12 deletions

View File

@@ -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"
return config;
},
error => {