Skip to content

Commit 93f9ca7

Browse files
author
搜云库
authored
Update DemoServiceImpl.java
Spring Boot 中使用 Dubbo 详解
1 parent 19ca857 commit 93f9ca7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎spring-boot-dubbo/dubbo-provider/src/main/java/io/ymq/dubbo/provider/service/DemoServiceImpl.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ public String sayHello(String name){
2121
System.out.println("[" + newSimpleDateFormat("HH:mm:ss").format(newDate()) + "] Hello " + name + ", request from consumer: " + RpcContext.getContext().getRemoteAddress());
2222
return"Hello " + name + ", response form provider: " + RpcContext.getContext().getLocalAddress();
2323
}
24+
2425
}

0 commit comments

Comments
(0)