From 712be01fa6cb698b744aef7430138a534133034a Mon Sep 17 00:00:00 2001 From: FleyX <2728474645@qq.com> Date: Tue, 27 Nov 2018 11:07:30 +0800 Subject: [PATCH] =?UTF-8?q?Update=20springboot=E9=85=8D=E7=BD=AE=E8=AF=BB?= =?UTF-8?q?=E5=86=99=E5=88=86=E7=A6=BB.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- java/springboot系列/读写分离配置/springboot配置读写分离.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)