沙钢智慧能源系统后端代码
dengzedong
2024-12-06 259beab5e89790d7cf58e5b19281e94ebc6f2c8a
token
已修改1个文件
3 ■■■■ 文件已修改
shasteel-biz/src/main/java/com/iailab/module/shasteel/config/FeignTokenInterceptor.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
shasteel-biz/src/main/java/com/iailab/module/shasteel/config/FeignTokenInterceptor.java
@@ -19,11 +19,10 @@
        if (token == null) {
            // 如果没有获取到Token,从system-server中获取token
            token = IailabClient.getToken();
        }
        if (token!= null) {
            requestTemplate.header(HttpHeaders.AUTHORIZATION, token);
        }
        }
        Long tenantId = IailabClient.getTenantId();
        if (tenantId != null) {