摘要: 目录 1 创建注册中心:EurekaCenter pom.xml文件 application.yml 启动服务 访问 http://localhost:1313/ 注册中心搭建完毕; 2 创建服务提供者:ServerOne pom.xml文件 application.yml 创建业务DemoCont 阅读全文
posted @ 2019-05-22 13:55 Devan.Yan 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 关于getForEntity,postForEntity,分别提供了三个接口 在上一节中,我们搭建了注册中心,服务提供者; 新建DemoController 启动项目,并访问http://localhost:8080/hello?name=jack 输出 创建服务消费者SERVER-TWO ①创建步 阅读全文
posted @ 2019-05-22 09:51 Devan.Yan 阅读(159) 评论(0) 推荐(0) 编辑