update doc
This commit is contained in:
parent
4a1f531b13
commit
48670ecdf7
|
@ -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。
|
||||
|
|
Loading…
Reference in New Issue