记得上下班打卡 | git大法好,push需谨慎

Commit a0b22fa0 authored by 张国柄's avatar 张国柄

fix

parent 1ba3c509
...@@ -65,6 +65,7 @@ public class GlobalAuthorityInterceptor extends HandlerInterceptorAdapter { ...@@ -65,6 +65,7 @@ public class GlobalAuthorityInterceptor extends HandlerInterceptorAdapter {
@Autowired @Autowired
JwtValidator jwtValidator; JwtValidator jwtValidator;
@Autowired @Autowired
@Lazy
FeignAuthorityClient feignAuthorityClient; FeignAuthorityClient feignAuthorityClient;
@Override @Override
......
...@@ -3,12 +3,10 @@ package com.liquidnet.service.feign.auth.rsc; ...@@ -3,12 +3,10 @@ package com.liquidnet.service.feign.auth.rsc;
import com.liquidnet.service.base.ResponseDto; import com.liquidnet.service.base.ResponseDto;
import feign.hystrix.FallbackFactory; import feign.hystrix.FallbackFactory;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
@Lazy
@Component @Component
@FeignClient(name = "liquidnet-service-adam", @FeignClient(name = "liquidnet-service-adam",
contextId = "FeignAuthorityClient", path = "adam", contextId = "FeignAuthorityClient", path = "adam",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment