Commit 71c1c365fdd10a2f916d1b42d0f804d3029d1e3b

Authored by maliang
1 parent 9e05f9a044
Exists in master

修改HTTP 名称为REMOTE

Showing 2 changed files with 2 additions and 2 deletions

core.sdk/src/main/java/com/lyms/util/HttpUtils.java View file @ 71c1c36
... ... @@ -51,7 +51,7 @@
51 51 /**
52 52 * http远程调用
53 53 */
54   - public static HttpRemote HTTP = HttpRemote.build();
  54 + public static HttpRemote REMOTE = HttpRemote.build();
55 55  
56 56  
57 57 /**
core.sdk/src/test/java/com/core/sdk/utils/HttpUtilTest.java View file @ 71c1c36
... ... @@ -29,7 +29,7 @@
29 29 params.put("k3", "fd");
30 30 params.put("k2", "fd");
31 31  
32   - String content = HttpUtils.HTTP.get("https://www.baidu.com", params);
  32 + String content = HttpUtils.REMOTE.get("https://www.hnmgjr.com/activitylist/20160608.html?hmsr=bdtg&hmpl=PCSS5&hmcu=jingpin&hmkw=&hmci=", null);
33 33 System.out.println(content);
34 34 }
35 35