开通同事特权

This commit is contained in:
zhonghua.li
2026-05-16 20:30:51 +08:00
parent efae19532e
commit baddbb9369
3 changed files with 128 additions and 0 deletions

View File

@@ -78,6 +78,12 @@ service.interceptors.request.use(
config.headers[key] = safe
}
})
if (config.tenantId) {
const tenantHeader = coerceBusinessHeaderValueForXHR('X-Tenant-Id', config.tenantId)
if (tenantHeader !== '') {
config.headers['X-Tenant-Id'] = tenantHeader
}
}
return config
},
error => {