详情页服务器请求加缓存

This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-06-03 11:09:52 +08:00
parent 4d55eb5a08
commit 8cf779cfc4
76 changed files with 1936 additions and 594 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" && "2434e9674f3ba0afa6da5c9253422151"
config['headers']['authorization'] = process.env.NODE_ENV !== "production" && "00c02fd989cc0bf31944462f6ba1067f"
return config;
},
error => {