吴学文
2019-04-24 ae89f21954d6d5622bfb8eaaa3156e1bb908c667
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.java110.core.feign;
 
import feign.codec.ErrorDecoder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
 
@Configuration
public class FeignConfiguration {
    @Bean
    public ErrorDecoder errorDecoder(){
        return new UserErrorDecoder();
    }
}