mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-30 10:07:06 +08:00
🐛 #1714 修复小程序初始化时报错的问题
This commit is contained in:
@ -298,7 +298,12 @@ public abstract class BaseWxMaServiceImpl<H, P> implements WxMaService, RequestH
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public WxMaConfig getWxMaConfig() {
|
public WxMaConfig getWxMaConfig() {
|
||||||
return this.wxMaConfig;
|
if (this.configMap.size() == 1) {
|
||||||
|
// 只有一个小程序,直接返回其配置即可
|
||||||
|
return this.configMap.values().iterator().next();
|
||||||
|
}
|
||||||
|
|
||||||
|
return this.configMap.get(WxMaConfigHolder.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user