From d5546f604f816520b74fa69cde6af867d31e2fa5 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Mon, 23 Apr 2018 18:09:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hsweb-datasource/README.md | 2 ++ hsweb-logging/README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hsweb-datasource/README.md b/hsweb-datasource/README.md index 17fc480c6..3497265a9 100644 --- a/hsweb-datasource/README.md +++ b/hsweb-datasource/README.md @@ -32,3 +32,5 @@ MyEntity selectByPk(String id); MyEntity selectByPk(String id); ``` +注意: 如果没有使用`hsweb-datasource-jta`模块,则无法在事务中切换数据源, +你可能需要先取消掉对应方法上的事务:如在方法上注解`@Transactional(propagation = Propagation.NOT_SUPPORTED)` \ No newline at end of file diff --git a/hsweb-logging/README.md b/hsweb-logging/README.md index af10a4999..e951328e1 100644 --- a/hsweb-logging/README.md +++ b/hsweb-logging/README.md @@ -2,7 +2,7 @@ ## 访问日志 API -controller类或者方法上,注解 `@AccessLogger("功能描述")` +controller类或者方法上,注解 `@AccessLogger("功能描述")` 如果正在使用swagger,只需要注解swagger的`@Api(tags="功能说明",value="XXX功能")` ## 开启访问日志