Skip to content

Commit 93f9ca7

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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("[" + new SimpleDateFormat("HH:mm:ss").format(new Date()) + "] 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)