jason 1 年之前
父节点
当前提交
434125890c
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      APIVisit.java

+ 1 - 6
APIVisit.java

@@ -77,12 +77,7 @@ public class APIVisit {
     public static void visit(String url, String token, String secret, Boolean enc, Map<String, String> param) {
 
         try {
-            String data = "";
-            JSONObject jobj = JSONObject.fromObject(param);
-            data = jobj.toString();
-            if (enc) {
-                 data = AesEcbEncrypt(data, secret);
-            }
+           
             // http 设置和请求
             HttpClient client = HttpClientBuilder.create().build();
             URIBuilder uriBuilder = new URIBuilder(url);