Skip to content

Commit 55ef3a3

Browse files
authored
Update generator.md
delete the duplicate content
1 parent 5b940f4 commit 55ef3a3

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

guide/generator.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -225,16 +225,6 @@ MyBatis-Plus 的代码生成器提供了大量的自定义参数供用户选择
225225
dataSourceConfig.setPassword("password");
226226
```
227227

228-
- 配置 DataSourceConfig
229-
230-
```java
231-
DataSourceConfig dataSourceConfig = new DataSourceConfig();
232-
dataSourceConfig.setUrl("jdbc:mysql://localhost:3306/ant?useUnicode=true&useSSL=false&characterEncoding=utf8");
233-
dataSourceConfig.setDriverName("com.mysql.jdbc.Driver");
234-
dataSourceConfig.setUsername("root");
235-
dataSourceConfig.setPassword("password");
236-
```
237-
238228
## 自定义模板引擎
239229

240230
请继承类 com.baomidou.mybatisplus.generator.engine.AbstractTemplateEngine

0 commit comments

Comments
 (0)