diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/README.md b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/README.md
index e69de29..bcbb11e 100644
--- a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/README.md
+++ b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/README.md
@@ -0,0 +1,145 @@
+# spring-boot-demo-dubbo-provider
+
+> 此 module 主要是服务提供方示例
+
+## pom.xml
+
+```xml
+
+
+ * 启动器 + *
+ * + * @package: com.xkcoding.dubbo.provider + * @description: 启动器 + * @author: yangkai.shen + * @date: Created in 2018-12-25 16:49 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +@EnableDubboConfiguration +@SpringBootApplication +public class SpringBootDemoDubboProviderApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoDubboProviderApplication.class, args); + } +} +``` + +## HelloServiceImpl.java + +```java +/** + *+ * Hello服务实现 + *
+ * + * @package: com.xkcoding.dubbo.provider.service + * @description: Hello服务实现 + * @author: yangkai.shen + * @date: Created in 2018-12-25 16:58 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +@Service +@Component +@Slf4j +public class HelloServiceImpl implements HelloService { + /** + * 问好 + * + * @param name 姓名 + * @return 问好 + */ + @Override + public String sayHello(String name) { + log.info("someone is calling me......"); + return "say hello to: " + name; + } +} +``` + diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/pom.xml b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/pom.xml index a2651c3..161526e 100644 --- a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/pom.xml +++ b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/pom.xml @@ -54,4 +54,8 @@ +* Hello服务实现