From fd8d49a5f85f05782b15fc6f7ba205e11d395483 Mon Sep 17 00:00:00 2001 From: wangyu096 Date: Wed, 1 Nov 2023 10:09:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Job=20=E5=90=8E=E7=AB=AF=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96=E5=A4=B1=E6=95=88=20#2570?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bk/job/common/web/config/WebAutoConfiguration.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/backend/commons/common-web/src/main/java/com/tencent/bk/job/common/web/config/WebAutoConfiguration.java b/src/backend/commons/common-web/src/main/java/com/tencent/bk/job/common/web/config/WebAutoConfiguration.java index 78a1ae567a..c3d27c2b0c 100644 --- a/src/backend/commons/common-web/src/main/java/com/tencent/bk/job/common/web/config/WebAutoConfiguration.java +++ b/src/backend/commons/common-web/src/main/java/com/tencent/bk/job/common/web/config/WebAutoConfiguration.java @@ -26,12 +26,19 @@ import com.tencent.bk.job.common.esb.metrics.EsbApiTimedAspect; import com.tencent.bk.job.common.web.feign.FeignConfiguration; +import com.tencent.bk.job.common.web.i18n.I18nConfig; import io.micrometer.core.instrument.MeterRegistry; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Import; -@Import({ActuatorSecurityConfig.class, SwaggerAdapterConfig.class, FeignConfiguration.class, FilterConfig.class}) +@Import({ + ActuatorSecurityConfig.class, + SwaggerAdapterConfig.class, + FeignConfiguration.class, + FilterConfig.class, + I18nConfig.class} +) public class WebAutoConfiguration { @Bean