Skip to content

Commit e6eb47a

Browse files
committed
2 parents a4e72fa + 93f9ca7 commit e6eb47a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Spring Boot 学习教程,示例代码
22

3+
**spring-boot-mongodb**
4+
- [Spring Boot 中使用 MongoDB 增删改查](http://www.ymq.io/2018/02/05/spring-boot-mongodb-example/)
5+
36
**spring-boot-rocketmq**
47
- [Spring Boot 中使用 RocketMQ](http://www.ymq.io/2018/02/02/spring-boot-rocketmq-example/)
58

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
}

spring-boot-dubbo/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
6-
6+
77
<groupId>io.ymq.example</groupId>
88
<artifactId>spring-boot-dubbo</artifactId>
99
<packaging>pom</packaging>
@@ -171,4 +171,4 @@
171171
</pluginManagement>
172172
</build>
173173

174-
</project>
174+
</project>

0 commit comments

Comments
 (0)