From 82cd438d1a3d3852668f503e342673276f619b82 Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Wed, 26 Dec 2018 11:22:21 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20spring-boot-demo-dubbo-common=20?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../spring-boot-demo-dubbo-common/README.md | 60 ++++++++++++++++++- .../spring-boot-demo-dubbo-common/pom.xml | 3 + 2 files changed, 62 insertions(+), 1 deletion(-) diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-common/README.md b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-common/README.md index 1d7dd00..a9bd5ce 100644 --- a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-common/README.md +++ b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-common/README.md @@ -1,2 +1,60 @@ # spring-boot-demo-dubbo-common -> 此 module 主要是用于公共部分,主要存放工具类,实体,以及服务提供方/调用方的接口定义 \ No newline at end of file + +> 此 module 主要是用于公共部分,主要存放工具类,实体,以及服务提供方/调用方的接口定义 + +## pom.xml + +```xml + + + + spring-boot-demo-dubbo + com.xkcoding + 1.0.0-SNAPSHOT + + 4.0.0 + + spring-boot-demo-dubbo-common + + + UTF-8 + UTF-8 + 1.8 + + + + spring-boot-demo-dubbo-common + + + +``` + +## HelloService.java + +```java +/** + *

+ * Hello服务接口 + *

+ * + * @package: com.xkcoding.dubbo.common.service + * @description: Hello服务接口 + * @author: yangkai.shen + * @date: Created in 2018-12-25 16:56 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +public interface HelloService { + /** + * 问好 + * + * @param name 姓名 + * @return 问好 + */ + String sayHello(String name); +} +``` + diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-common/pom.xml b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-common/pom.xml index c08d46a..ae7272f 100644 --- a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-common/pom.xml +++ b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-common/pom.xml @@ -17,5 +17,8 @@ 1.8 + + spring-boot-demo-dubbo-common + \ No newline at end of file