|
@@ -0,0 +1,18 @@
|
|
|
+package com.persagy.fm.common.config;
|
|
|
+
|
|
|
+import org.springframework.context.annotation.Bean;
|
|
|
+import org.springframework.context.annotation.Configuration;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 类说明
|
|
|
+ *
|
|
|
+ * @author lixing
|
|
|
+ * @version V1.0 2021/4/19 8:03 下午
|
|
|
+ **/
|
|
|
+@Configuration
|
|
|
+public class FeignClientConfig {
|
|
|
+ @Bean
|
|
|
+ public FeignExceptionHandler initFeignExceptionHandler() {
|
|
|
+ return new FeignExceptionHandler();
|
|
|
+ }
|
|
|
+}
|