From 7c25c2a8f249ae378db626fb3275e51a8f66af05 Mon Sep 17 00:00:00 2001 From: wangzhijiang <12345678> Date: Fri, 4 Mar 2022 15:40:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=82=20feign=E5=88=86=E5=BC=80=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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