From cf5c21d9f17dd6f008c9ef806b135a838529bce9 Mon Sep 17 00:00:00 2001 From: Binary Wang Date: Fri, 28 Apr 2017 10:49:28 +0800 Subject: [PATCH] fix for test --- .../me/chanjar/weixin/cp/api/impl/AbstractWxCpServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/AbstractWxCpServiceImpl.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/AbstractWxCpServiceImpl.java index 8bfceb67..27928d8b 100644 --- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/AbstractWxCpServiceImpl.java +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/AbstractWxCpServiceImpl.java @@ -521,7 +521,7 @@ public abstract class AbstractWxCpServiceImpl implements WxCpService, Requ throw new RuntimeException("微信服务端异常,超出重试次数"); } - private synchronized T executeInternal(RequestExecutor executor, String uri, E data) throws WxErrorException { + protected synchronized T executeInternal(RequestExecutor executor, String uri, E data) throws WxErrorException { if (uri.contains("access_token=")) { throw new IllegalArgumentException("uri参数中不允许有access_token: " + uri); }