From 1cbc9ff6409ffcbff61b80b681fb30b0c2385f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= <2270033969@qq.com> Date: Tue, 11 Mar 2025 21:24:48 +0800 Subject: [PATCH] =?UTF-8?q?`chore(config):=20=E5=9C=A8application.yml?= =?UTF-8?q?=E4=B8=AD=E5=90=AF=E7=94=A8feign=E7=9A=84okhttp=E5=B9=B6?= =?UTF-8?q?=E7=A6=81=E7=94=A8httpclient`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 该提交修改了配置文件 `application.yml`,启用了 `feign` 的 `okhttp` 并禁用了 `httpclient`,属于项目配置的维护性更改。 --- pigx-boot/src/main/resources/application.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pigx-boot/src/main/resources/application.yml b/pigx-boot/src/main/resources/application.yml index 7d59afb41..ee282944e 100644 --- a/pigx-boot/src/main/resources/application.yml +++ b/pigx-boot/src/main/resources/application.yml @@ -30,6 +30,13 @@ spring: profiles: active: dev,ai +# 默认使用 okhttp +feign: + okhttp: + enabled: true + httpclient: + enabled: false + ## spring security 对外暴露接口设置 security: micro: false