|
|
@@ -1,6 +1,6 @@
|
|
|
package com.mrxu.framework.boot.config;
|
|
|
|
|
|
-import com.mrxu.framework.boot.handle.UserInfoHandler;
|
|
|
+import com.mrxu.framework.boot.handle.FeignHandlerInterceptorAdapter;
|
|
|
import com.mrxu.framework.boot.util.SpringApplicationContextUtil;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
@@ -21,8 +21,8 @@ public class WebMvcConfig implements WebMvcConfigurer {
|
|
|
* @return 用户信息拦截器
|
|
|
*/
|
|
|
@Bean
|
|
|
- public UserInfoHandler userInfoHandler() {
|
|
|
- return new UserInfoHandler();
|
|
|
+ public FeignHandlerInterceptorAdapter userInfoHandler() {
|
|
|
+ return new FeignHandlerInterceptorAdapter();
|
|
|
}
|
|
|
|
|
|
/**
|