ruoyi-demo/src/main/java/com/ruoyi/demo/feign/FeignTestService.java
@@ -5,6 +5,11 @@ import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; /** * feign测试service * * @author Lion Li */ @FeignClient(name = "baidu",url = "http://www.baidu.com",fallback = FeignTestFallback.class) public interface FeignTestService {