no message

This commit is contained in:
A1300399510
2024-01-03 18:31:15 +08:00
parent b2e7cb8f45
commit 3778105266
967 changed files with 114 additions and 140485 deletions

View File

@@ -10,7 +10,8 @@ axios.defaults.withCredentials = true
axios.interceptors.request.use( //响应拦截
async config => {
// 开发时登录用的,可以直接替换小程序的 authorization
config['headers']['authorization'] = "2lfrtq7h3ge634pl4ptlu2pbh2"
config['headers']['authorization'] = process.env.NODE_ENV !== "production" && "2lfrtq7h3ge634pl4ptlu2pbh2"
// config['headers']['authorization'] = "2lfrtq7h3ge634pl4ptlu2pbh2"
return config;
},
error => {