技威参数新增sessionID

This commit is contained in:
yiyan 2019-06-18 09:59:12 +08:00
parent f2f9580d1f
commit 4c6fe78903
1 changed files with 7 additions and 1 deletions

View File

@ -171,10 +171,14 @@ public class GwellApi {
if(error_code.equals("0")){ if(error_code.equals("0")){
String P2PVerifyCode1 = json.getString("P2PVerifyCode1"); String P2PVerifyCode1 = json.getString("P2PVerifyCode1");
String P2PVerifyCode2 = json.getString("P2PVerifyCode2"); String P2PVerifyCode2 = json.getString("P2PVerifyCode2");
String SessionID = json.getString("SessionID");
String SessionID2 = json.getString("SessionID2");
String UserID = json.getString("UserID"); String UserID = json.getString("UserID");
map.put("result", GwellEnum.success.getKey()); map.put("result", GwellEnum.success.getKey());
map.put("P2PVerifyCode1", P2PVerifyCode1); map.put("P2PVerifyCode1", P2PVerifyCode1);
map.put("P2PVerifyCode2", P2PVerifyCode2); map.put("P2PVerifyCode2", P2PVerifyCode2);
map.put("SessionID", SessionID);
map.put("SessionID2", SessionID2);
map.put("UserID", UserID); map.put("UserID", UserID);
return map; return map;
} }
@ -218,7 +222,9 @@ public class GwellApi {
public static void main(String[] args) { public static void main(String[] args) {
Register("15216102193"); Map<String, String> register = Login("18501773036");
System.out.println(register);
} }
} }