httpClient提交中文乱码,ContentType类型application/json
指定提交参数的编码即可
StringEntity se = new StringEntity(paramBody.toJSONString(),"UTF-8");se.setContentType("application/json");context.httpPost.setHeader("Cookie",context.cookie);context.httpPost.setHeader("User-Agent",this.userAgent);context.httpPost.setHeader("Content-Type", "application/json");context.httpPost.setEntity(se);