parent
1ffa7c4a75
commit
9551f322f0
|
@ -15,13 +15,13 @@ spring:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://localhost:3306/demo?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://localhost:3306/demo?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
username: root
|
||||||
password: root
|
password: 123456
|
||||||
|
|
||||||
# Redis配置
|
# Redis配置
|
||||||
data:
|
data:
|
||||||
redis:
|
redis:
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 6379
|
port: 6380
|
||||||
password: 123456 # 如果有密码,请设置
|
password: 123456 # 如果有密码,请设置
|
||||||
database: 8
|
database: 8
|
||||||
timeout: 10000
|
timeout: 10000
|
||||||
|
@ -59,7 +59,7 @@ spring:
|
||||||
- org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration
|
- org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration
|
||||||
|
|
||||||
# MyBatis-Plus配置
|
# MyBatis-Plus配置
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
global-config:
|
global-config:
|
||||||
db-config:
|
db-config:
|
||||||
id-type: auto
|
id-type: auto
|
||||||
|
|
Loading…
Reference in New Issue