Skip to content

Commit 3706323

Browse files
authored
🎨 优化代码
1 parent c144eb7 commit 3706323

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/BaseWxMpServiceImpl.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,9 @@ public void setWxMpConfigStorage(WxMpConfigStorage wxConfigProvider) {
529529

530530
@Override
531531
public void setMultiConfigStorages(Map<String, WxMpConfigStorage> configStorages) {
532+
if (configStorages.isEmpty()) {
533+
return;
534+
}
532535
this.setMultiConfigStorages(configStorages, configStorages.keySet().iterator().next());
533536
}
534537

0 commit comments

Comments
 (0)