1
This commit is contained in:
@@ -7,28 +7,9 @@ spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://txy.588580.xyz:3306/mini?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
password: 123
|
||||
password: 271922abF
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
redis:
|
||||
# Redis 服务器地址
|
||||
host: localhost
|
||||
# Redis 服务器端口
|
||||
port: 6379
|
||||
# Redis 数据库索引(默认 0)
|
||||
database: 0
|
||||
# 连接超时时间(毫秒)
|
||||
timeout: 5000
|
||||
# 连接池配置
|
||||
lettuce:
|
||||
pool:
|
||||
# 最大连接数
|
||||
max-active: 8
|
||||
# 最大空闲连接数
|
||||
max-idle: 8
|
||||
# 最小空闲连接数
|
||||
min-idle: 0
|
||||
# 连接耗尽时的最大等待时间(负值表示无限等待)
|
||||
max-wait: -1ms
|
||||
|
||||
# 微信小程序配置
|
||||
wx:
|
||||
miniapp:
|
||||
@@ -40,6 +21,6 @@ wx:
|
||||
# MyBatis配置
|
||||
mybatis:
|
||||
mapper-locations: classpath:mapper/*.xml
|
||||
type-aliases-package: com.example.demo.mini.entity
|
||||
type-aliases-package: com.example.mini_program.entity
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
Reference in New Issue
Block a user