吴学文
2019-04-24 cec5799c7dbabbe6672399486303165e1b3586fc
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();
    }
}