Commit f55c6fb6 authored by yyh's avatar yyh

增加clientOs 请求头

parent a13b46f7
......@@ -108,6 +108,7 @@ instance.interceptors.request.use(
userInfo = JSON.parse(userInfo);
config.headers.Authorization = userInfo?.token;
}
config.headers.ClientOS = 'H5';
return config;
},
(error: any) => Promise.reject(error));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment