update:宜安内嵌页面

This commit is contained in:
2025-12-10 16:50:36 +08:00
parent f6ce1ace1e
commit e827838102
7 changed files with 99 additions and 7 deletions

View File

@@ -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) => {