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()); }