ycl-smoke/src/main/java/com/ycl/smoke/utils/HttpUtil.java
@@ -118,7 +118,7 @@ //第三步:给httpPost设置JSON格式的参数 StringEntity requestEntity = new StringEntity(json,"utf-8"); requestEntity.setContentEncoding("UTF-8"); httpPost.setHeader("Content-type", "application/json"); httpPost.setHeader("Content-type", "application/x-www-form-urlencoded"); httpPost.setHeader("Auth",token); httpPost.setEntity(requestEntity);