傻大方


首页 > 潮·科技 > >

nacos、ribbon和feign的简明教程( 二 )



按关键词阅读:


@FeignClient(name = "provider")@Servicepublic interface TestService {String echo(String serviceName);}public class TestController {private final RestTemplate restTemplate;@Autowiredprivate TestService testService;@GetMapping("/echo2/{str}")public String echo2(@PathVariable String str){return testService.echo(str);}}作者:bbird2018
【nacos、ribbon和feign的简明教程】来源:


稿源:(未知)

【傻大方】网址:http://www.shadafang.com/c/111T31c22020.html

标题:nacos、ribbon和feign的简明教程( 二 )


上一篇:「Redis-多机功能」Sentinel

下一篇:微服务环境下的高可用隔离方案