|
@@ -125,12 +125,4 @@ public class HttpClientHelper {
|
|
.setConnectionRequestTimeout(10000)
|
|
.setConnectionRequestTimeout(10000)
|
|
.build();
|
|
.build();
|
|
}
|
|
}
|
|
-
|
|
|
|
- public static void main(String[] args) {
|
|
|
|
- String URL = "http://api.test.56ctms.com/user/generate_access_token/v2";
|
|
|
|
- JSONObject jsonParams = new JSONObject();
|
|
|
|
- jsonParams.put("userName", "15161181167");
|
|
|
|
- jsonParams.put("password", "123456");
|
|
|
|
- System.out.println(httpPost(URL, jsonParams, null));
|
|
|
|
- }
|
|
|
|
}
|
|
}
|