作者 crossoverJie

:sparkles: Introducing new features.私聊ok 判断账号是否存在3

@@ -43,7 +43,7 @@ public class MsgHandler implements MsgHandle { @@ -43,7 +43,7 @@ public class MsgHandler implements MsgHandle {
43 43
44 @Override 44 @Override
45 public void sendMsg(String msg) { 45 public void sendMsg(String msg) {
46 - String[] totalMsg = msg.split("^^"); 46 + String[] totalMsg = msg.split(";;");
47 if (totalMsg.length > 1) { 47 if (totalMsg.length > 1) {
48 //私聊 48 //私聊
49 P2PReqVO p2PReqVO = new P2PReqVO(); 49 P2PReqVO p2PReqVO = new P2PReqVO();
@@ -92,7 +92,7 @@ public class RouteRequestImpl implements RouteRequest { @@ -92,7 +92,7 @@ public class RouteRequestImpl implements RouteRequest {
92 throw new IOException("Unexpected code " + response); 92 throw new IOException("Unexpected code " + response);
93 } 93 }
94 94
95 - String json = response.body().toString() ; 95 + String json = response.body().string() ;
96 BaseResponse baseResponse = JSON.parseObject(json, BaseResponse.class); 96 BaseResponse baseResponse = JSON.parseObject(json, BaseResponse.class);
97 97
98 //选择的账号不存在 98 //选择的账号不存在