2018-05-22 11:32:00.290227+0800 CangEr[10066:106713] [INFO] -[AVIMWebSocketWrapper _sendCommand:] [Line 654]
------ BEGIN LeanCloud IM Out Command ------
content: : {
cmd: direct
peerId: "6289"
directMessage {
msg: "{"lcattrs":{"username":"味精填海1","conversationType":0},"lctype":-1,"_lctext":"B.B.","sendTimestamp":1526959920255.3169}"
r: true
cid: "5afd2f975b90c830ff7eb50a"
transient: false
}
}
------ END ---------------------------------
2018-05-22 11:32:00.565733+0800 CangEr[10066:107459] [INFO] -[AVIMWebSocketWrapper webSocket:didReceiveMessage:] [Line 906]
------ BEGIN LeanCloud IM In Command ------
content: : {
cmd: ack
peerId: "6289"
i: 12
service: 2
ackMessage {
t: 1526959920302
uid: "hIh2qPqhSee4sszjWobeJA"
}
}
------ END --------------------------------
2018-05-22 11:32:00.565769+0800 CangEr[10066:107322] [INFO] -[AVIMWebSocketWrapper webSocket:didReceiveMessage:] [Line 906]
------ BEGIN LeanCloud IM In Command ------
content: : {
cmd: direct
peerId: "6289"
service: 2
directMessage {
msg: "{"lcattrs":{"username":"味精填海1","conversationType":0},"lctype":-1,"_lctext":"B.B.","sendTimestamp":1526959920255.3169}"
fromPeerId: "6289"
timestamp: 1526959920302
cid: "5afd2f975b90c830ff7eb50a"
id: "hIh2qPqhSee4sszjWobeJA"
convType: 1
}
}
------ END --------------------------------
2018-05-22 11:32:00.706266+0800 CangEr[10066:106713] [INFO] -[AVIMWebSocketWrapper _sendCommand:] [Line 654]
------ BEGIN LeanCloud IM Out Command ------
content: : {
cmd: read
peerId: "6289"
readMessage {
convs {
cid: "5afd2f975b90c830ff7eb50a"
timestamp: 1526959920302
mid: "hIh2qPqhSee4sszjWobeJA"
}
}
}
------ END ---------------------------------
日志打印了两次,是不是因为我测试的时候 没有退出操作。然后直接重新编译。出现重复登录了啊?