zhibing.pu
2024-08-20 5e569e367992d54f8311595fddf97cf7bf0b430a
ruoyi-gateway/src/main/java/com/ruoyi/gateway/filter/AuthFilter.java
@@ -9,6 +9,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.gateway.filter.GatewayFilterChain;
import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.context.annotation.Lazy;
import org.springframework.core.Ordered;
import org.springframework.http.HttpHeaders;
import org.springframework.http.server.reactive.ServerHttpRequest;
@@ -47,9 +48,11 @@
   @Autowired
   private RedisService redisService;
   
   @Lazy
   @Resource
   private AppUserClient appUserClient;
   
   @Lazy
   @Resource
   private SysUserClient sysUserClient;