-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✅ Mybatis-Plus-Generator(3.5.1+)代码生成器组件集成.
- Loading branch information
Showing
3 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
study-mybatis-plus-fast-generator/src/main/resources/application.properties
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
study-mybatis-plus-fast-generator/src/main/resources/application.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# Spring相关配置 | ||
spring: | ||
# 数据库链接配置 | ||
datasource: | ||
name: druidDataSource | ||
type: com.alibaba.druid.pool.DruidDataSource | ||
# 链接地址,这里需要修改自己的数据库IP和数据库名 | ||
url: jdbc:mysql://localhost:3306/db_study_mp?useUnicode=true&serverTimezone=UTC&useSSL=false&characterEncoding=utf8 | ||
username: chen | ||
password: 123456 | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
druid: | ||
# 链接地址,这里需要修改自己的数据库IP和数据库名 | ||
# url: jdbc:mysql://127.0.0.1:3306/db_excite_cms?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC | ||
# username: chen # 数据库用户名 | ||
# password: 123456 # 数据库密码 | ||
initial-size: 1 | ||
min-idle: 1 | ||
max-active: 20 | ||
test-on-borrow: true | ||
# 连接驱动类名 | ||
# MySQL 8.x: com.mysql.cj.jdbc.Driver | ||
# MySQL 5.x: com.mysql.jdbc.Driver | ||
# driver-class-name: com.mysql.cj.jdbc.Driver |