Skip to content

Commit

Permalink
优化说明
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao committed Apr 23, 2018
1 parent 4593c94 commit d5546f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions hsweb-datasource/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ MyEntity selectByPk(String id);
MyEntity selectByPk(String id);
```

注意: 如果没有使用`hsweb-datasource-jta`模块,则无法在事务中切换数据源,
你可能需要先取消掉对应方法上的事务:如在方法上注解`@Transactional(propagation = Propagation.NOT_SUPPORTED)`
2 changes: 1 addition & 1 deletion hsweb-logging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 访问日志 API

controller类或者方法上,注解 `@AccessLogger("功能描述")`
controller类或者方法上,注解 `@AccessLogger("功能描述")` 如果正在使用swagger,只需要注解swagger的`@Api(tags="功能说明",value="XXX功能")`


## 开启访问日志
Expand Down

0 comments on commit d5546f6

Please sign in to comment.