fix some code

This commit is contained in:
Binary Wang
2017-06-10 23:06:40 +08:00
parent 9c0e9e44fb
commit 007e736f74
3 changed files with 3 additions and 10 deletions

View File

@@ -210,8 +210,7 @@ public abstract class AbstractWxMpServiceImpl<H, P> implements WxMpService, Requ
String url = String.format(WxMpService.OAUTH2_VALIDATE_TOKEN_URL, oAuth2AccessToken.getAccessToken(), oAuth2AccessToken.getOpenId());
try {
RequestExecutor<String, String> executor = SimpleGetRequestExecutor.create(this);
executor.execute(url, null);
SimpleGetRequestExecutor.create(this).execute(url, null);
} catch (IOException e) {
throw new RuntimeException(e);
} catch (WxErrorException e) {