Skip to content

Commit 2aa27cf

Browse files
Tinshbinarywang
authored andcommitted
🎨 给 BaseWxMpServiceImpl.configStorageMap 赋初始值
1 parent 2753131 commit 2aa27cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
import org.apache.commons.lang3.StringUtils;
4040

4141
import java.io.IOException;
42+
import java.util.HashMap;
4243
import java.util.Map;
4344
import java.util.concurrent.TimeUnit;
4445
import java.util.concurrent.locks.Lock;
@@ -155,7 +156,7 @@ public abstract class BaseWxMpServiceImpl<H, P> implements WxMpService, RequestH
155156
@Setter
156157
private WxMpFreePublishService freePublishService = new WxMpFreePublishServiceImpl(this);
157158

158-
private Map<String, WxMpConfigStorage> configStorageMap;
159+
private Map<String, WxMpConfigStorage> configStorageMap = new HashMap<>();
159160

160161
private int retrySleepMillis = 1000;
161162
private int maxRetryTimes = 5;

0 commit comments

Comments
 (0)