From 839511b48cabc150da7ffdae1b95d4ff5ab1d0cc Mon Sep 17 00:00:00 2001 From: thinkgem Date: Thu, 9 Oct 2025 18:00:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20FeignClient=20=E7=94=9F?= =?UTF-8?q?=E6=88=90=E7=9A=84=20Bean=20=E5=90=8D=E7=A7=B0=EF=BC=8C?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E4=BD=BF=E7=94=A8=20=E7=B1=BB=E5=90=8D=20?= =?UTF-8?q?=E5=B0=8F=E5=86=99=E5=BC=80=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/gen/module_cloud/web/src/main/java/startClass.xml | 4 +++- .../module_cloud/web/src/main/resources/config/bootstrap.xml | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/java/startClass.xml b/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/java/startClass.xml index 9285dd9f..4e379b37 100644 --- a/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/java/startClass.xml +++ b/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/java/startClass.xml @@ -12,6 +12,9 @@ */ package com.jeesite.modules; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import com.jeesite.modules.cloud.feign.EnableFeignClients; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; @@ -19,7 +22,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; -import org.springframework.cloud.openfeign.EnableFeignClients; /** * Application diff --git a/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/resources/config/bootstrap.xml b/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/resources/config/bootstrap.xml index 5a2f0726..d081c617 100644 --- a/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/resources/config/bootstrap.xml +++ b/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/resources/config/bootstrap.xml @@ -87,7 +87,6 @@ spring: main: banner-mode: "off" lazy-initialization: true - allow-bean-definition-overriding: true # 日志配置 logging: