update:宜安内嵌页面
This commit is contained in:
@@ -16,10 +16,11 @@ const service = axios.create({
|
||||
service.interceptors.request.use(
|
||||
(config) => {
|
||||
config.headers['company'] = 'carsafe';
|
||||
config.headers['jobNumber'] = $wujie?.props?.USER_ID || '';
|
||||
config.headers['token'] = $wujie?.props?.TOKEN || '';
|
||||
config.headers['userId'] = $wujie?.props?.USER_ID || '';
|
||||
config.headers['tenantId'] = $wujie?.props?.TENANT_ID || '';
|
||||
config.headers['jobNumber'] = $wujie?.props?.USER_ID || localStorage.getItem('USER_ID') || '';
|
||||
config.headers['token'] = $wujie?.props?.TOKEN || localStorage.getItem('TOKEN') || '';
|
||||
config.headers['userId'] = $wujie?.props?.USER_ID || localStorage.getItem('USER_ID') || '';
|
||||
config.headers['tenantId'] =
|
||||
$wujie?.props?.TENANT_ID || localStorage.getItem('TENANT_ID') || '';
|
||||
return config;
|
||||
},
|
||||
(error) => {
|
||||
|
||||
Reference in New Issue
Block a user