chore: 设计器内部 api 统一使用天梯 token
This commit is contained in:
		
							parent
							
								
									e33726e74e
								
							
						
					
					
						commit
						883d359149
					
				| @ -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) => { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 wangxuefeng
						wangxuefeng