|
@@ -55,27 +55,29 @@ spring:
|
|
wall:
|
|
wall:
|
|
config:
|
|
config:
|
|
multi-statement-allow: true
|
|
multi-statement-allow: true
|
|
- # redis 配置
|
|
|
|
- redis:
|
|
|
|
- database: 2
|
|
|
|
- # 地址
|
|
|
|
- host: 192.168.8.213
|
|
|
|
- # 端口,默认为6379
|
|
|
|
- port: 6379
|
|
|
|
- # 密码
|
|
|
|
- password:
|
|
|
|
- # 连接超时时间
|
|
|
|
- timeout: 10s
|
|
|
|
- lettuce:
|
|
|
|
- pool:
|
|
|
|
- # 连接池中的最小空闲连接
|
|
|
|
- min-idle: 0
|
|
|
|
- # 连接池中的最大空闲连接
|
|
|
|
- max-idle: 8
|
|
|
|
- # 连接池的最大数据库连接数
|
|
|
|
- max-active: 8
|
|
|
|
- # #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
|
- max-wait: -1ms
|
|
|
|
|
|
+ cache:
|
|
|
|
+ type: redis
|
|
|
|
+ # redis 配置
|
|
|
|
+ redis:
|
|
|
|
+ database: 2
|
|
|
|
+ # 地址
|
|
|
|
+ host: 192.168.8.213
|
|
|
|
+ # 端口,默认为6379
|
|
|
|
+ port: 6379
|
|
|
|
+ # 密码
|
|
|
|
+ password:
|
|
|
|
+ # 连接超时时间
|
|
|
|
+ timeout: 10s
|
|
|
|
+ lettuce:
|
|
|
|
+ pool:
|
|
|
|
+ # 连接池中的最小空闲连接
|
|
|
|
+ min-idle: 0
|
|
|
|
+ # 连接池中的最大空闲连接
|
|
|
|
+ max-idle: 8
|
|
|
|
+ # 连接池的最大数据库连接数
|
|
|
|
+ max-active: 8
|
|
|
|
+ # #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
|
+ max-wait: -1ms
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -118,4 +120,4 @@ wxgzh:
|
|
# 上传临时素材
|
|
# 上传临时素材
|
|
mediaUpload: https://api.weixin.qq.com/cgi-bin/media/upload?access_token=
|
|
mediaUpload: https://api.weixin.qq.com/cgi-bin/media/upload?access_token=
|
|
# 客服接口-发消息
|
|
# 客服接口-发消息
|
|
- messageCustomSend: https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=
|
|
|
|
|
|
+ messageCustomSend: https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=
|