沙钢智慧能源系统后端代码
dengzedong
2024-12-06 259beab5e89790d7cf58e5b19281e94ebc6f2c8a
shasteel-biz/src/main/java/com/iailab/module/shasteel/config/FeignTokenInterceptor.java
@@ -19,10 +19,9 @@
        if (token == null) {
            // 如果没有获取到Token,从system-server中获取token
            token = IailabClient.getToken();
        }
        if (token!= null) {
            requestTemplate.header(HttpHeaders.AUTHORIZATION, token);
            if (token!= null) {
                requestTemplate.header(HttpHeaders.AUTHORIZATION, token);
            }
        }
        Long tenantId = IailabClient.getTenantId();