摘要:
public static Map getResJson(String postUrl,String reqJson) throws UnsupportedEncodingException{ //发送请求 HttpClient client =new DefaultHttpClient(); HttpPost post=new H... 阅读全文
摘要:
1 public Map getWechat(String getUrl){ //发送请求 2 HttpClient client =new DefaultHttpClient(); 3 HttpGet get=new HttpGet(getUrl); 4 // 初始化解析json格式的对象 5 JsonPars... 阅读全文