File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
weixin-java-open/src/main/java/me/chanjar/weixin/open/api/impl Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -235,8 +235,10 @@ private static class Token {
235
235
}
236
236
237
237
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
+
240
242
/**
241
243
* 小程序原始ID
242
244
*/
@@ -527,7 +529,12 @@ public boolean autoRefreshToken() {
527
529
528
530
@ Override
529
531
public WxMpHostConfig getHostConfig () {
530
- return null ;
532
+ return this .hostConfig ;
533
+ }
534
+
535
+ @ Override
536
+ public void setHostConfig (WxMpHostConfig hostConfig ) {
537
+ this .hostConfig = hostConfig ;
531
538
}
532
539
}
533
540
}
You can’t perform that action at this time.
0 commit comments