|
|
@ -40,7 +40,7 @@ service.interceptors.request.use( |
|
|
|
// 判断白名单是否存在当前则携带参数在header
|
|
|
|
if (whiteList.includes(config.url)) { |
|
|
|
if (localStorage.getItem("tenantId")) { |
|
|
|
config.headers.TENANT_ID = localStorage.getItem("tenantId"); |
|
|
|
config.headers["TENANT-ID"] = localStorage.getItem("tenantId"); |
|
|
|
} |
|
|
|
} |
|
|
|
// get请求映射params参数
|
|
|
|