mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 09:08:24 +08:00
update docs/zh/intro/getting-started.md.
setDatasource 改为 setDataSource Signed-off-by: 欢乐码农 <shikaij@sina.com>
This commit is contained in:
parent
200e61d2f7
commit
27988ac452
@ -110,7 +110,7 @@ public class HelloWorld {
|
||||
|
||||
//配置数据源
|
||||
MybatisFlexBootstrap.getInstance()
|
||||
.setDatasource(dataSource)
|
||||
.setDataSource(dataSource)
|
||||
.addMapper(AccountMapper.class)
|
||||
.start();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user