From 37063233fbdef71e0aba5fd81829db2cb99b560c Mon Sep 17 00:00:00 2001 From: limite1224 <44696227+limite1224@users.noreply.github.com> Date: Fri, 4 Aug 2023 10:53:24 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../me/chanjar/weixin/mp/api/impl/BaseWxMpServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/BaseWxMpServiceImpl.java b/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/BaseWxMpServiceImpl.java index 6430e9dbf..e2230e2a8 100644 --- a/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/BaseWxMpServiceImpl.java +++ b/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/BaseWxMpServiceImpl.java @@ -529,6 +529,9 @@ public abstract class BaseWxMpServiceImpl implements WxMpService, RequestH @Override public void setMultiConfigStorages(Map configStorages) { + if (configStorages.isEmpty()) { + return; + } this.setMultiConfigStorages(configStorages, configStorages.keySet().iterator().next()); }