Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5869892

Browse files
authored
Merge pull request baomidou#61 from wenfuqiang/patch-1
Update generator.md
2 parents eb557b4 + 55ef3a3 commit 5869892

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)

AltStyle によって変換されたページ (->オリジナル) /