提交 71784cca authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 a326a15a
......@@ -25,6 +25,7 @@ public class HttpClientUtil {
httpPost.addHeader("Content-Type", "application/x-www-form-urlencoded; charset=GBK");
httpPost.setHeader("Accept", "application/json");
httpPost.setEntity(new StringEntity(postData.toString(), HTTP.UTF_8));
HttpResponse response = httpClient.execute(httpPost);
if(response != null){
HttpEntity resEntity = response.getEntity();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论