diff --git a/src/main/java/com/ifish/gwell/GwellApi.java b/src/main/java/com/ifish/gwell/GwellApi.java index 740c151..732bfbe 100644 --- a/src/main/java/com/ifish/gwell/GwellApi.java +++ b/src/main/java/com/ifish/gwell/GwellApi.java @@ -171,10 +171,14 @@ public class GwellApi { if(error_code.equals("0")){ String P2PVerifyCode1 = json.getString("P2PVerifyCode1"); String P2PVerifyCode2 = json.getString("P2PVerifyCode2"); + String SessionID = json.getString("SessionID"); + String SessionID2 = json.getString("SessionID2"); String UserID = json.getString("UserID"); map.put("result", GwellEnum.success.getKey()); map.put("P2PVerifyCode1", P2PVerifyCode1); map.put("P2PVerifyCode2", P2PVerifyCode2); + map.put("SessionID", SessionID); + map.put("SessionID2", SessionID2); map.put("UserID", UserID); return map; } @@ -218,7 +222,9 @@ public class GwellApi { public static void main(String[] args) { - Register("15216102193"); + Map register = Login("18501773036"); + System.out.println(register); + } }