配置文件修改。
feign分开调用启动报错问题。
This commit is contained in:
@@ -146,6 +146,10 @@ spring:
|
|||||||
#username: root
|
#username: root
|
||||||
#password: root
|
#password: root
|
||||||
#driver-class-name: com.mysql.cj.jdbc.Driver
|
#driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
|
||||||
|
main:
|
||||||
|
# 解决@FeignClient注解 value/name 值重复报错 此值默认是false
|
||||||
|
allow-bean-definition-overriding: true
|
||||||
#redis 配置
|
#redis 配置
|
||||||
redis:
|
redis:
|
||||||
database: 3
|
database: 3
|
||||||
@@ -325,7 +329,7 @@ local-tool:
|
|||||||
## 这个要有,如果不加,只加了上面也没用
|
## 这个要有,如果不加,只加了上面也没用
|
||||||
ribbon:
|
ribbon:
|
||||||
eureka:
|
eureka:
|
||||||
enabled: false
|
enabled: true
|
||||||
#ribbon的超时时间
|
#ribbon的超时时间
|
||||||
ReadTimeout: 60000
|
ReadTimeout: 60000
|
||||||
ConnectTimeout: 60000
|
ConnectTimeout: 60000
|
||||||
|
|||||||
Reference in New Issue
Block a user