package com.ycl.config.feign; import feign.Feign; import feign.Logger; import feign.Retryer; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class FeignConfiguration { @Bean Logger.Level feignLoggerLevel() { return Logger.Level.FULL; } @Bean public Feign.Builder feignBuilder() { return Feign.builder() .queryMapEncoder(new UnderlineQueryEncoder()) .retryer(Retryer.NEVER_RETRY); } }