[重大更新] 使用 spring feign 替代 HttpServiceClient (功能太新 支持不完全 使用成本太高)

This commit is contained in:
疯狂的狮子Li
2026-03-23 11:50:48 +08:00
parent b6d2274b53
commit 485c2001ae
63 changed files with 820 additions and 1163 deletions

View File

@@ -9,20 +9,10 @@ server:
# 最大线程数
max: 256
remote:
http:
# 远程接口扫描范围,支持 Ant 风格包路径
scan-packages:
- org.dromara.**.api
# 全局请求log
request-log: true
# info 基础信息 param 参数信息 full 全部
log-level: info
spring:
http:
clients:
# 默认 client HTTP 请求超时,供 RestClient / HTTP Service Client 复用
# Spring HTTP 客户端默认超时配置,供非 Feign 客户端复用
connect-timeout: 3s
read-timeout: 10s
imperative:
@@ -66,6 +56,9 @@ spring:
# 允许对象忽略json中不存在的属性
fail_on_unknown_properties: false
cloud:
openfeign:
circuitbreaker:
enabled: true
inetutils:
# 指定全局使用ip网段
preferred-networks: