mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-25 22:49:19 +08:00
log
This commit is contained in:
parent
70b326ff07
commit
aa3b73044b
@ -102,6 +102,7 @@ func (ws *WServer) newestSeqReq(conn *UserConn, m *Req) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (ws *WServer) pullMsgResp(conn *UserConn, m *Req, pb *pbChat.PullMessageResp) {
|
func (ws *WServer) pullMsgResp(conn *UserConn, m *Req, pb *pbChat.PullMessageResp) {
|
||||||
|
log.NewInfo(m.OperationID, "pullMsgResp come here ", pb.String())
|
||||||
var mReplyData pbWs.PullMessageBySeqListResp
|
var mReplyData pbWs.PullMessageBySeqListResp
|
||||||
b, err := proto.Marshal(pb)
|
b, err := proto.Marshal(pb)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -125,6 +126,8 @@ func (ws *WServer) pullMsgResp(conn *UserConn, m *Req, pb *pbChat.PullMessageRes
|
|||||||
OperationID: m.OperationID,
|
OperationID: m.OperationID,
|
||||||
Data: c,
|
Data: c,
|
||||||
}
|
}
|
||||||
|
log.NewInfo(m.OperationID, "pullMsgResp all data is ", mReply)
|
||||||
|
|
||||||
ws.sendMsg(conn, mReply)
|
ws.sendMsg(conn, mReply)
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -156,7 +159,7 @@ func (ws *WServer) pullMsgReq(conn *UserConn, m *Req) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
func (ws *WServer) pullMsgBySeqListReq(conn *UserConn, m *Req) {
|
func (ws *WServer) pullMsgBySeqListReq(conn *UserConn, m *Req) {
|
||||||
log.NewError(m.OperationID, "Ws call success to pullMsgBySeqListReq", m)
|
log.NewInfo(m.OperationID, "Ws call success to pullMsgBySeqListReq", m)
|
||||||
reply := new(pbChat.PullMessageResp)
|
reply := new(pbChat.PullMessageResp)
|
||||||
isPass, errCode, errMsg, data := ws.argsValidate(m, constant.WSPullMsgBySeqList)
|
isPass, errCode, errMsg, data := ws.argsValidate(m, constant.WSPullMsgBySeqList)
|
||||||
if isPass {
|
if isPass {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user