From 9fd12b2a09c13199d04818715fd46f00f3e83fbc Mon Sep 17 00:00:00 2001 From: "Mr.Robot" <49147552+SunnyBoyLJQ@users.noreply.github.com> Date: Sat, 4 Oct 2025 01:32:23 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20WxOpenMessageRouter=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=B3=A8=E8=A7=A3ConditionalOnMissingBean?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wxjava/open/config/WxOpenServiceAutoConfiguration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-starters/wx-java-open-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/open/config/WxOpenServiceAutoConfiguration.java b/spring-boot-starters/wx-java-open-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/open/config/WxOpenServiceAutoConfiguration.java index 22b0a6621..e532f3c16 100644 --- a/spring-boot-starters/wx-java-open-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/open/config/WxOpenServiceAutoConfiguration.java +++ b/spring-boot-starters/wx-java-open-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/open/config/WxOpenServiceAutoConfiguration.java @@ -28,6 +28,7 @@ public class WxOpenServiceAutoConfiguration { } @Bean + @ConditionalOnMissingBean public WxOpenMessageRouter wxOpenMessageRouter(WxOpenService wxOpenService) { return new WxOpenMessageRouter(wxOpenService); }