diff --git a/jero-boot/jero-boot-single-startup/src/main/resources/application-dev.yml b/jero-boot/jero-boot-single-startup/src/main/resources/application-dev.yml index 49b8f414a..3dc0af395 100644 --- a/jero-boot/jero-boot-single-startup/src/main/resources/application-dev.yml +++ b/jero-boot/jero-boot-single-startup/src/main/resources/application-dev.yml @@ -146,6 +146,10 @@ spring: #username: root #password: root #driver-class-name: com.mysql.cj.jdbc.Driver + + main: + # 解决@FeignClient注解 value/name 值重复报错 此值默认是false + allow-bean-definition-overriding: true #redis 配置 redis: database: 3 @@ -325,7 +329,7 @@ local-tool: ## 这个要有,如果不加,只加了上面也没用 ribbon: eureka: - enabled: false + enabled: true #ribbon的超时时间 ReadTimeout: 60000 ConnectTimeout: 60000