| src/api/dataCenter/dataCenter.js | ●●●●● patch | view | raw | blame | history | |
| src/axios.js | ●●●●● patch | view | raw | blame | history |
src/api/dataCenter/dataCenter.js
@@ -87,6 +87,7 @@ url: `/drone-device-core/wayline/api/v1/workspaces/getJobIdsBySn`, method: 'get', params, customize: params.areaCode }) } // 附件下载 src/axios.js
@@ -41,7 +41,7 @@ config.url = baseUrl + config.url; } //安全请求header config.headers['areaCode'] = store?.state?.user?.userInfo?.detail?.areaCode; config.headers['areaCode'] = config?.params?.areaCode || store?.state?.user?.userInfo?.detail?.areaCode; config.headers['Blade-Requested-With'] = 'BladeHttpRequest'; //headers判断是否需要 const authorization = config.authorization === false;