摘要: public static Map getResJson(String postUrl,String reqJson) throws UnsupportedEncodingException{ //发送请求 HttpClient client =new DefaultHttpClient(); HttpPost post=new H... 阅读全文
posted @ 2018-03-16 10:58 radiant13 阅读(932) 评论(0) 推荐(0) 编辑
摘要: 1 public Map getWechat(String getUrl){ //发送请求 2 HttpClient client =new DefaultHttpClient(); 3 HttpGet get=new HttpGet(getUrl); 4 // 初始化解析json格式的对象 5 JsonPars... 阅读全文
posted @ 2018-03-16 10:03 radiant13 阅读(361) 评论(0) 推荐(0) 编辑