fix for test

This commit is contained in:
Binary Wang 2017-04-28 10:49:28 +08:00
parent 67a846b325
commit cf5c21d9f1

View File

@ -521,7 +521,7 @@ public abstract class AbstractWxCpServiceImpl<H, P> implements WxCpService, Requ
throw new RuntimeException("微信服务端异常,超出重试次数");
}
private synchronized <T, E> T executeInternal(RequestExecutor<T, E> executor, String uri, E data) throws WxErrorException {
protected synchronized <T, E> T executeInternal(RequestExecutor<T, E> executor, String uri, E data) throws WxErrorException {
if (uri.contains("access_token=")) {
throw new IllegalArgumentException("uri参数中不允许有access_token: " + uri);
}