diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/README.md b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/README.md
index e69de29..9754771 100644
--- a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/README.md
+++ b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/README.md
@@ -0,0 +1,140 @@
+# spring-boot-demo-dubbo-consumer
+
+> 此 module 主要是服务调用方的示例
+
+## pom.xml
+
+```xml
+
+
+ * 启动器 + *
+ * + * @package: com.xkcoding.dubbo.consumer + * @description: 启动器 + * @author: yangkai.shen + * @date: Created in 2018-12-25 16:49 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +@SpringBootApplication +@EnableDubboConfiguration +public class SpringBootDemoDubboConsumerApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoDubboConsumerApplication.class, args); + } +} +``` + +## HelloController.java + +```java +/** + *+ * Hello服务API + *
+ * + * @package: com.xkcoding.dubbo.consumer.controller + * @description: Hello服务API + * @author: yangkai.shen + * @date: Created in 2018-12-25 17:22 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +@RestController +@Slf4j +public class HelloController { + @Reference + private HelloService helloService; + + @GetMapping("/sayHello") + public String sayHello(@RequestParam(defaultValue = "xkcoding") String name) { + log.info("i'm ready to call someone......"); + return helloService.sayHello(name); + } +} +``` \ No newline at end of file diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/pom.xml b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/pom.xml index ab0189d..b001f6b 100644 --- a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/pom.xml +++ b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/pom.xml @@ -54,4 +54,8 @@ +