danchaofan1412 3 лет назад
Родитель
Сommit
aa8e7c5113

+ 3 - 3
framework-boot/src/main/java/com/mrxu/framework/boot/handle/FeignErrorHandler.java

@@ -14,13 +14,13 @@ import java.lang.annotation.*;
 
 @Slf4j
 @Configuration
-public class FeignErrorHandler implements ErrorDecoder {
+public class FeignErrorDecoder implements ErrorDecoder {
 
     @Retention(RetentionPolicy.RUNTIME)
     @Target({ElementType.TYPE})
     @Documented
-    @Import({FeignErrorHandler.class})
-    public @interface EnableFeignErrorHandler {
+    @Import({FeignErrorDecoder.class})
+    public @interface EnableFeignErrorDecoder {
     }
 
     @Override