File tree Expand file tree Collapse file tree
weixin-java-open/src/main/java/me/chanjar/weixin/open/api/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -235,8 +235,10 @@ private static class Token {
235235 }
236236
237237 private static class WxOpenInnerConfigStorage implements WxMpConfigStorage , WxMaConfig {
238- private WxOpenConfigStorage wxOpenConfigStorage ;
239- private String appId ;
238+ private final WxOpenConfigStorage wxOpenConfigStorage ;
239+ private final String appId ;
240+ private WxMpHostConfig hostConfig ;
241+
240242 /**
241243 * 小程序原始ID
242244 */
@@ -527,7 +529,12 @@ public boolean autoRefreshToken() {
527529
528530 @ Override
529531 public WxMpHostConfig getHostConfig () {
530- return null ;
532+ return this .hostConfig ;
533+ }
534+
535+ @ Override
536+ public void setHostConfig (WxMpHostConfig hostConfig ) {
537+ this .hostConfig = hostConfig ;
531538 }
532539 }
533540}
You can’t perform that action at this time.
0 commit comments