update 适配升级 springcloud 2021 springboot2.6

This commit is contained in:
疯狂的狮子li
2022-01-13 13:04:43 +08:00
10 changed files with 148 additions and 80 deletions

View File

@@ -48,7 +48,12 @@ dubbo:
spring:
main:
allow-circular-references: true
allow-bean-definition-overriding: true
mvc:
pathmatch:
# 适配 boot 2.6 路由与 springfox 兼容
matching-strategy: ANT_PATH_MATCHER
#jackson配置
jackson:
# 日期格式化
@@ -64,6 +69,9 @@ spring:
cloud:
# sentinel 配置
sentinel:
filter:
# sentinel 在 springboot 2.6.x 不兼容问题的处理
enabled: false
# 取消控制台懒加载
eager: true
transport: