chore: 设计器内部 api 统一使用天梯 token

This commit is contained in:
wangxuefeng 2025-03-25 17:56:55 +08:00
parent e33726e74e
commit 883d359149

View File

@ -11,6 +11,7 @@ const instance = axios.create({
instance.interceptors.request.use(
(config) => {
// 可在此处添加统一请求头等配置
config.headers.Authorization = `Bearer ${localStorage.getItem('y-code-access-token')}`;
return config;
},
(error) => {