update doc

This commit is contained in:
mazhicheng 2020-03-24 14:29:12 +08:00
parent 4a1f531b13
commit 48670ecdf7
1 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,13 @@ compile("com.diboot:diboot-iam-base-spring-boot-starter:2.0.5")
<version>2.0.5</version>
</dependency>
~~~
注: 2.0.5版本需要在Spring配置类中增加事务注解如下:
```java
@Configuration
@EnableTransactionManagement
```
> 配置了数据库连接初次启动时iam-base starter组件会自初始化生成相关的表及初始数据。
> 如果使用diboot-devtools还需要引入devtools相关依赖可自动生成iam-base相关的controller。