T - 返回值类型E - 请求参数类型public interface RequestExecutor<T,E>
T execute(org.apache.http.impl.client.CloseableHttpClient httpclient, org.apache.http.HttpHost httpProxy, String uri, E data) throws WxErrorException, IOException
httpclient - 传入的httpClienthttpProxy - http代理对象,如果没有配置代理则为空uri - uridata - 数据WxErrorExceptionIOExceptionCopyright © 2017. All rights reserved.