diff --git a/java/springboot系列/读写分离配置/springboot配置读写分离.md b/java/springboot系列/读写分离配置/springboot配置读写分离.md index a9a3c74..7894723 100644 --- a/java/springboot系列/读写分离配置/springboot配置读写分离.md +++ b/java/springboot系列/读写分离配置/springboot配置读写分离.md @@ -306,10 +306,10 @@ public class ReadOnlyInterceptor implements Ordered {   这种方法不许要注解,但是需要事务名称按一定规则编写,然后通过切面来设置数据库类别,比如`setXXX`设置为写、`getXXX`设置为读,代码我就不写了,应该都知道怎么写。 -### 4、测试 +## 4、测试   编写好代码来试试结果如何,下面是运行截图: ![1536312274474](./picFolder/pic3.png) -  断断续续写了好几天终于是写完了,,,如果有帮助到你,,欢迎star哦,,这里是完整代码地址:[点击跳转](https://github.com/FleyX/demo-project/tree/master/dxfl) \ No newline at end of file +  断断续续写了好几天终于是写完了,,,如果有帮助到你,,欢迎star哦,,这里是完整代码地址:[点击跳转](https://github.com/FleyX/demo-project/tree/master/dxfl)