刘韬 5 years ago
parent
commit
e521a8f0d2
1 changed files with 1 additions and 2 deletions
  1. 1 2
      DataFusion/src/com/zskk/service/DataService.java

+ 1 - 2
DataFusion/src/com/zskk/service/DataService.java

@@ -52,7 +52,7 @@ public class DataService {
 		
 	}
     
-    public static String postWithParameters(String url, Map<String, String> map) {
+    public String postWithParameters(String url, Map<String, String> map) {
     	
     	FormBody.Builder formbody = new FormBody.Builder();
     	
@@ -69,7 +69,6 @@ public class DataService {
 		    try (Response response = OKHTTP_CLIENT.newCall(request).execute()) {
 		      if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
 		      String content = response.body().string();
-		      System.out.println(content);
 		      return content;
 		    } catch (IOException e) {
 				// TODO Auto-generated catch block