perf[zfoo]: 更新文档

This commit is contained in:
jaysunxiao
2021-09-20 21:23:47 +08:00
parent 8c9f7887a8
commit 80f8611cbd
+1 -1
View File
@@ -128,7 +128,7 @@ public class UserEntity implements IEntity<Long> {
entityCaches.update(userEntity);
```
#### 6. [event](event/src/test/java/com/zfoo/event/ApplicationTest.java) 事件总线解耦不同模块,提高代码的质量
#### 6. [event](event/src/test/java/com/zfoo/event/ApplicationTest.java) 事件总线解耦不同模块,提高代码的质量,核心思想是观察者设计模式
```
// 接收一个事件,只需要在需要接收事件的方法上加一个注解就会自动监听这个事件