...
|
...
|
@@ -47,7 +47,7 @@ public class AccountTest { |
|
|
params.put("password", EncodeTools.encode("MD5", pass)); // encode password with MD5 algorithm
|
|
|
params.put("newpwd", EncodeTools.encode("MD5", newpwd)); // encode password with MD5 algorithm
|
|
|
params.put("t", HttpTools.getNow());
|
|
|
String response = HttpTools.requestByMap(URL_LOGIN, "POST", params);
|
|
|
String response = HttpTools.requestByMap(URL_LOGIN, "PUT", params);
|
|
|
System.out.println("login success:" + response);
|
|
|
JSONObject jsonObject = new JSONObject(response);
|
|
|
JSONObject content = jsonObject.getJSONObject("content");
|
...
|
...
|
|