// Intercept request configuration for personalized processing.
consturl=config?.url;
return{...config,url};
}
],
// 响应拦截器
// Response interceptor
responseInterceptors:[
(response)=>{
// 拦截响应数据,进行个性化处理
// 不再需要异步处理读取返回体内容,可直接在data中读出,部分字段可在 config 中找到
//Intercept response data for personalized processing
//No longer requires asynchronous processing to read the content of the return body, it can be directly read from data, and some fields can be found in config