|
@@ -113,6 +113,11 @@ public class DefaultWechatPublicHandler implements WechatPublicHandler {
|
|
|
return this.wechatHandler.refreshAccessToken(this.properties.getAppid(), this.properties.getSecret());
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public WechatHandler getWechatHandler() {
|
|
|
+ return this.wechatHandler;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public WechatWebToken code2token(@NonNull String code) {
|
|
|
String url = String.format(CODE2TOKEN_URL, this.properties.getAppid(), this.properties.getSecret(), code);
|