mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-24 16:18:51 +08:00
fix for test
This commit is contained in:
parent
67a846b325
commit
cf5c21d9f1
@ -521,7 +521,7 @@ public abstract class AbstractWxCpServiceImpl<H, P> implements WxCpService, Requ
|
|||||||
throw new RuntimeException("微信服务端异常,超出重试次数");
|
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=")) {
|
if (uri.contains("access_token=")) {
|
||||||
throw new IllegalArgumentException("uri参数中不允许有access_token: " + uri);
|
throw new IllegalArgumentException("uri参数中不允许有access_token: " + uri);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user